tinygo/transform
Ayke van Laethem 904fa852f6 transform: fix debug information in func lowering pass
This commit fixes errors like the following:

    inlinable function call in a function with debug info must have a !dbg location
      call void @runtime.nilPanic(i8* undef, i8* null)
    inlinable function call in a function with debug info must have a !dbg location
      %24 = call fastcc %runtime._interface @"(*github.com/vugu/vugu/domrender.JSRenderer).render$1"(%"github.com/vugu/vugu.VGNode"** %19, i32 %22, i32 %23, i8* %15, i8* undef)
    error: optimizations caused a verification failure

Not all instructions had a debug location, which apparently caused
issues for the inliner.
2020-05-07 08:24:14 +02:00
..
testdata transform (func-lowering): remove specializations from function value lowering and fix lowering of a function value of an unimplemented type 2020-04-12 22:43:43 +02:00
allocs.go
allocs_test.go
coroutines.go transform (coroutines): remove map iteration from coroutine lowering pass 2020-04-12 16:54:40 +02:00
errors.go
func-lowering.go transform: fix debug information in func lowering pass 2020-05-07 08:24:14 +02:00
func-lowering_test.go
gc.go transform (gc): track phi nodes in stack slots 2020-04-02 15:06:58 +02:00
gc_test.go
globals.go
globals_test.go
goroutine_test.go refactor coroutine lowering and tasks 2020-03-17 12:16:10 +01:00
interface-lowering.go transform: fix error in interface lowering pass 2020-03-25 16:28:38 +01:00
interface-lowering_test.go transform: replace panics with source locations 2020-03-24 15:07:55 +01:00
interrupt.go runtime/fe310: add support for PLIC interrupts 2020-01-27 19:58:39 +01:00
interrupt_test.go all: add compiler support for interrupts 2020-01-20 21:19:12 +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
optimizer.go compiler, transform: remove runtime.isnil hack 2020-03-27 07:38:16 +01:00
panic.go
panic_test.go
reflect.go transform: make reflection sidetables constant globals 2019-12-21 22:59:23 +01:00
stringtobytes.go
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 main: switch to LLVM 10 2020-04-09 20:23:51 +02:00
util.go
wasm-abi.go
wasm-abi_test.go