tinygo/compiler
Ayke van Laethem 8f8942d763
compiler: make all functions unnamed_addr
In Go, function pointers are not comparable. This means that the address
itself is not significant and functions can therefore be merged.

Add the unnamed_addr attribute to all functions to learn LLVM about this
fact. At the moment the mergefunc pass hasn't been enabled, but it
should be in the future to reduce code size.
2018-11-03 18:47:49 +01:00
..
calls.go compiler, runtime: move defer notes to the runtime file 2018-11-01 11:42:04 +01:00
compiler.go compiler: make all functions unnamed_addr 2018-11-03 18:47:49 +01:00
map.go compiler: support comma-ok in map lookup 2018-10-20 17:54:16 +02:00
optimizer.go compiler: remove println statement 2018-10-29 18:18:23 +01:00
sizes.go compiler: refactor compiler into separate package 2018-09-22 20:32:28 +02:00