tinygo/ir
Ayke van Laethem dda9c1cc6e
ir: fix interface call edge case
A function on a type that is put in an interface must not be assumed to
not need a context pointer when it isn't directly put in a function
pointer, because the interface call side won't know this and pass an
extra parameter with that extra function pointer.

This is usually not a problem but WebAssembly has strict checks on
function signatures so this resulted in an error when running
src/examples/test/test.go.
2018-10-21 01:33:40 +02:00
..
interpreter.go compiler: refactor IR parts into separate package 2018-09-22 20:32:07 +02:00
ir.go all: use LLVM library provided by the system 2018-09-30 15:10:04 +02:00
passes.go ir: fix interface call edge case 2018-10-21 01:33:40 +02:00