tinygo/transform
Ayke van Laethem 374349cfa5 compiler: refactor func lowering to the transform package
This commit makes a number of changes:

  * It avoids a dependency on Compiler.emitStartGoroutine.
  * It moves the func-lowering pass to the transform package.
  * It adds testing to func lowering.

No functionality should have changed with this commit.
2019-12-04 22:19:49 +01:00
..
testdata compiler: refactor func lowering to the transform package 2019-12-04 22:19:49 +01:00
allocs.go fix incorrect starting value for optimized allocations in a loop 2019-11-13 16:45:09 +01:00
allocs_test.go all: refactor heap-to-stack transform into the transform package 2019-09-15 21:26:27 +02:00
func-lowering.go compiler: refactor func lowering to the transform package 2019-12-04 22:19:49 +01:00
func-lowering_test.go compiler: refactor func lowering to the transform package 2019-12-04 22:19:49 +01:00
gc.go compiler: move GC passes to the transform package 2019-11-25 09:14:31 +01:00
gc_test.go compiler: move GC passes to the transform package 2019-11-25 09:14:31 +01:00
interface-lowering.go compiler: add support for async interface calls 2019-11-17 23:46:10 +01:00
interface-lowering_test.go compiler,transform: move interface lowering to transform package 2019-11-15 23:37:17 +01:00
llvm.go compiler: move GC passes to the transform package 2019-11-25 09:14:31 +01:00
maps.go all: move OptimizeMaps to transforms and add tests 2019-09-15 21:26:27 +02:00
maps_test.go all: move OptimizeMaps to transforms and add tests 2019-09-15 21:26:27 +02:00
panic.go compiler: move ReplacePanicsWithTrap pass to transforms 2019-11-16 18:41:28 +01:00
panic_test.go compiler: move ReplacePanicsWithTrap pass to transforms 2019-11-16 18:41:28 +01:00
reflect.go compiler,transform: move interface lowering to transform package 2019-11-15 23:37:17 +01:00
stringtobytes.go compiler: move OptimizeStringToBytes to transform package 2019-09-22 08:25:50 +02:00
stringtobytes_test.go compiler: move OptimizeStringToBytes to transform package 2019-09-22 08:25:50 +02:00
transform.go all: refactor heap-to-stack transform into the transform package 2019-09-15 21:26:27 +02:00
transform_test.go fix incorrect starting value for optimized allocations in a loop 2019-11-13 16:45:09 +01:00
util.go compiler: move OptimizeStringToBytes to transform package 2019-09-22 08:25:50 +02:00