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
allocs.go
allocs_test.go
coroutines.go
errors.go
func-lowering.go
func-lowering_test.go
gc.go
gc_test.go
globals.go
globals_test.go
goroutine_test.go
interface-lowering.go
interface-lowering_test.go
interrupt.go
interrupt_test.go
llvm.go
maps.go
maps_test.go
optimizer.go
panic.go
panic_test.go
reflect.go
stringtobytes.go
stringtobytes_test.go
transform.go
transform_test.go
util.go
wasm-abi.go
wasm-abi_test.go