tinygo/src/runtime
Ayke van Laethem 31e0662856
runtime: use a specialized runtime panic function
This specifically fixes unix alloc(): previously when allocation fails
it would (recursively) call alloc() again to create an interface due to
lacking escape analysis.
Also, all other cases shouldn't try to allocate just because something
bad happens at runtime.

TODO: implement escape analysis.
2018-09-11 19:50:49 +02:00
..
cgo Implement CGo support 2018-04-20 16:31:43 +02:00
arch_amd64.go Move runtime.TargetBits out of the compiler 2018-09-02 16:00:31 +02:00
arch_wasm.go Move runtime.TargetBits out of the compiler 2018-09-02 16:00:31 +02:00
chan.go Add dummy channel support 2018-08-30 05:32:18 +02:00
defer.go compiler: rewrite defer support to better support them 2018-09-05 20:34:17 +02:00
gc.go Add dummy runtime.SetFinalizer() 2018-08-31 21:56:46 +02:00
hashmap.go Optimize/eliminate bounds checking 2018-09-02 16:28:46 +02:00
interface.go all: complete the implementation of interface asserts 2018-09-11 19:39:25 +02:00
nrfx_config.h runtime: Implement GPIO output 2018-04-27 01:29:13 +02:00
nrfx_glue.h Add runtime support for the nRF52 2018-04-25 20:06:08 +02:00
os_js.go Add runtime.GOOS 2018-08-30 05:48:16 +02:00
os_linux.go Add runtime.GOOS 2018-08-30 05:48:16 +02:00
panic.go runtime: use a specialized runtime panic function 2018-09-11 19:50:49 +02:00
print.go Optimize/eliminate bounds checking 2018-09-02 16:28:46 +02:00
runtime.go compiler: implement builtin copy(dst, src []T) 2018-09-06 10:37:44 +02:00
runtime.h Add runtime support for the nRF52 2018-04-25 20:06:08 +02:00
runtime.ll all: move bootstrapping IR to Go runtime 2018-09-04 21:18:26 +02:00
runtime_avr.go all: use less magic in memory-mapped IO 2018-09-05 12:18:21 +02:00
runtime_nrf.c runtime/nrf: remove AEABI functions 2018-09-05 07:09:24 +02:00
runtime_nrf.go all: move bootstrapping IR to Go runtime 2018-09-04 21:18:26 +02:00
runtime_nrf.h runtime: Convert device initialization to Go 2018-05-05 20:10:39 +02:00
runtime_unix.go runtime: use a specialized runtime panic function 2018-09-11 19:50:49 +02:00
scheduler.go runtime/scheduler: make debugging easier + rename some functions 2018-09-02 19:30:13 +02:00
stack.go Implement runtime functions for reflect 2018-08-30 22:53:34 +02:00
string.go all: swap string from {len, ptr} to {ptr, len} for slice compatibility 2018-09-06 10:50:13 +02:00
sync.go Replace compiler hack for sync package with //go:linkname 2018-08-30 22:38:45 +02:00
time.go go fmt 2018-08-17 23:23:20 +02:00