tinygo/compiler
Ayke van Laethem fc0ac9af8e compiler: refactor interface invoke wrapper creation
Now that most of the utility compiler methods are ported over to the
builder or compilerContext, it is possible to avoid having to do the
wrapper creation in two steps. A new builder is created just to create
the wrapper.

This is a small reduction in line count (and a significant reduction in
complexity!), even though more documentation was added.
2020-03-25 20:17:46 +01:00
..
ircheck compiler: move IR checker to separate package 2020-03-21 15:45:25 +01:00
llvmutil compiler/llvmutil: move constant pointer packs into constant globals 2020-02-24 23:27:04 +01:00
asserts.go compiler: refactor asserts 2020-03-25 20:17:46 +01:00
calls.go compiler: refactor createBinOp 2020-03-25 20:17:46 +01:00
channel.go compiler: refactor creating of channel operations 2020-03-25 20:17:46 +01:00
compiler.go compiler: refactor interface invoke wrapper creation 2020-03-25 20:17:46 +01:00
defer.go compiler: rename Compiler.getValue -> builder.getValue 2020-03-25 20:17:46 +01:00
errors.go compiler: rename Compiler.getValue -> builder.getValue 2020-03-25 20:17:46 +01:00
func.go compiler: rename Compiler.getValue -> builder.getValue 2020-03-25 20:17:46 +01:00
gc.go compiler: move GC passes to the transform package 2019-11-25 09:14:31 +01:00
goroutine.go refactor coroutine lowering and tasks 2020-03-17 12:16:10 +01:00
inlineasm.go compiler: rename Compiler.getValue -> builder.getValue 2020-03-25 20:17:46 +01:00
interface.go compiler: refactor interface invoke wrapper creation 2020-03-25 20:17:46 +01:00
interrupt.go compiler: rename Compiler.getValue -> builder.getValue 2020-03-25 20:17:46 +01:00
llvm.go compiler: refactor interface invoke wrapper creation 2020-03-25 20:17:46 +01:00
map.go compiler: refactor parseConvert 2020-03-25 20:17:46 +01:00
sizes.go compiler: don't crash when encountering types.Invalid 2019-12-30 13:40:37 +01:00
symbol.go compiler: rename Compiler.getValue -> builder.getValue 2020-03-25 20:17:46 +01:00
syscall.go compiler: rename Compiler.getValue -> builder.getValue 2020-03-25 20:17:46 +01:00
volatile.go compiler: refactor asserts 2020-03-25 20:17:46 +01:00