tinygo/src/device/arm
Ayke van Laethem b8f5627c9f machine: move errors.New calls to globals
Calling errors.New in an error path causes a heap allocation at an
already unfortunate moment. It is more efficient to create these error
values in globals and return these constant globals. If these errors are
not used (because the related code was optimized out), the globals will
also be optimized out.
2020-04-07 13:24:26 +02:00
..
arm.go machine: move errors.New calls to globals 2020-04-07 13:24:26 +02:00
cortexm.s cortexm: move SemihostingCall impl to the right asm file 2019-11-01 16:25:41 +01:00
semihosting.go all: add emulation support for Cortex-M3 with QEMU 2018-10-08 17:07:19 +02:00