This commit moves the itfmethod call implemented directly in LLVM IR to a Go implementation in the runtime. Additionally, it fixes variable names to be more obvious and adds a lot of documentation to explain how interfaces actually work in TinyGo. Code size changes for src/examples/hello: nrf: -144 unix: -93 I'm guessing this code size reduction is a result of removing the 'noinline' function attribute. |
||
|---|---|---|
| .. | ||
| device | ||
| examples | ||
| machine | ||
| runtime | ||
| syscall | ||
| unsafe | ||