tinygo/transform
Ayke van Laethem c0d257d682 compiler: fix difference in aliases in interface methods
There used to be a difference between `byte` and `uint8` in interface
methods. These are aliases, so they should be treated the same.
This patch introduces a custom serialization format for types,
circumventing the `Type.String()` method that is slightly wrong for our
purposes.

This also fixes an issue with the `any` keyword in Go 1.18, which
suffers from the same problem (but this time actually leads to a crash).
2022-04-07 12:54:17 +02:00
..
testdata all: add support for ThinLTO 2022-03-12 12:55:38 +01:00
allocs.go compiler: move allocations > 256 bytes to the heap 2022-02-11 19:46:37 +01:00
allocs_test.go
errors.go
gc.go
gc_test.go
globals.go
globals_test.go
interface-lowering.go compiler: remove parentHandle from calling convention 2022-01-19 14:42:02 -05:00
interface-lowering_test.go compiler: add "target-cpu" and "target-features" attributes 2021-11-10 11:16:13 +01:00
interrupt.go compiler: remove parentHandle from calling convention 2022-01-19 14:42:02 -05:00
interrupt_test.go transform: refactor interrupt lowering 2021-11-06 09:40:15 +01:00
llvm.go runtime/fe310: add support for PLIC interrupts 2020-01-27 19:58:39 +01:00
maps.go all: move OptimizeMaps to transforms and add tests 2019-09-15 21:26:27 +02:00
maps_test.go all: add LLVM 12 support 2021-11-30 21:53:16 +01:00
optimizer.go all: add support for ThinLTO 2022-03-12 12:55:38 +01:00
panic.go
panic_test.go
reflect.go compiler: fix difference in aliases in interface methods 2022-04-07 12:54:17 +02:00
reflect_test.go
rtcalls.go compiler: simplify interface lowering 2021-10-31 14:17:25 +01:00
rtcalls_test.go
stacksize.go all: add support for ThinLTO 2022-03-12 12:55:38 +01:00
stacksize_test.go
transform.go compiler: add "target-cpu" and "target-features" attributes 2021-11-10 11:16:13 +01:00
transform_test.go transform: remove switched func lowering 2022-01-19 14:42:02 -05:00
util.go
wasm-abi.go internal/task: remove coroutines 2022-01-19 14:42:02 -05:00
wasm-abi_test.go compiler: add "target-cpu" and "target-features" attributes 2021-11-10 11:16:13 +01:00