tinygo/compiler
Ayke van Laethem b0e767c4a7 compiler: move global handling from ir to compiler package
This is part of a larger rafactor that tries to shrink the ir package
and in general tries to shrink the amount of state that is kept around
in the compiler. The end goal is being able to compile packages
independent of each other, linking them together in a later stage. Along
the way, it cleans up lots of old cruft that has accumulated over the
months.

This refactor also results in globals being loaded lazily. This may be a
problem for some specific programs but will probably change back in a
commit in the near future.
2019-06-08 22:17:09 +02:00
..
asserts.go compiler,runtime: make panic functions camelCase 2019-05-27 13:35:59 +02:00
calls.go compiler: add debug info for function arguments 2019-05-14 11:18:38 +02:00
channel.go compiler: refactor named types to create them lazily 2019-06-08 22:17:09 +02:00
compiler.go compiler: move global handling from ir to compiler package 2019-06-08 22:17:09 +02:00
defer.go compiler: refactor named types to create them lazily 2019-06-08 22:17:09 +02:00
errors.go all: improve compiler error handling 2019-04-26 08:52:10 +02:00
func-lowering.go compiler: refactor named types to create them lazily 2019-06-08 22:17:09 +02:00
func.go compiler: refactor named types to create them lazily 2019-06-08 22:17:09 +02:00
goroutine-lowering.go compiler: refactor named types to create them lazily 2019-06-08 22:17:09 +02:00
inlineasm.go compiler: refactor parseExpr 2019-04-26 08:52:10 +02:00
interface-lowering.go compiler: refactor named types to create them lazily 2019-06-08 22:17:09 +02:00
interface.go compiler: refactor named types to create them lazily 2019-06-08 22:17:09 +02:00
llvm.go compiler: create temporary allocas with appropriate lifetimes 2019-05-20 09:52:42 +02:00
map.go compiler: add support for pointers as map keys 2019-06-08 21:48:05 +02:00
optimizer.go cgo: do not allow capturing of external/exported functions 2019-05-05 20:56:35 +02:00
reflect.go reflect: add limited support for all type kinds 2019-02-05 17:11:09 +01:00
sizes.go compiler: allow larger-than-int values to be sent across a channel 2019-05-05 16:46:50 +02:00
symbol.go compiler: move global handling from ir to compiler package 2019-06-08 22:17:09 +02:00
syscall.go compiler: support non-constant syscall numbers 2019-06-08 21:48:05 +02:00
volatile.go compiler: implement volatile operations as compiler builtins 2019-05-14 12:24:01 +02:00
wordpack.go compiler: create temporary allocas with appropriate lifetimes 2019-05-20 09:52:42 +02:00