tinygo/compiler
Ayke van Laethem fb0bb69f62 compiler: fix non-int integer constants
Before this change, the compiler could panic with the following message:

    panic: 20 not an Int

That of course doesn't make much sense. But it apparently is expected
behavior, see https://github.com/golang/go/issues/43165 for details.

This commit fixes this issue by converting the constant to an integer if
needed.
2020-12-27 16:13:36 +01:00
..
ircheck compiler: move IR checker to separate package 2020-03-21 15:45:25 +01:00
llvmutil compiler: fix undefined behavior in wordpack 2020-12-22 15:54:23 +01:00
asserts.go
atomic.go compiler: add support for atomic operations 2020-05-28 15:11:46 +02:00
calls.go
channel.go compiler/runtime: move the channel blocked list onto the stack 2020-06-08 19:59:57 +02:00
compiler.go compiler: fix non-int integer constants 2020-12-27 16:13:36 +01:00
defer.go
errors.go
func.go
gc.go
goroutine.go arm: automatically determine stack sizes 2020-08-27 19:23:22 +02:00
inlineasm.go
interface.go compiler: fix incorrect "exported function" panic 2020-12-22 15:54:23 +01:00
interrupt.go compiler: refactor function calling 2020-03-25 20:17:46 +01:00
intrinsics.go compiler,runtime: translate memzero calls to LLVM memset intrinsics 2020-03-27 21:01:59 +01:00
llvm.go compiler/llvm.go: fix typo 2020-04-13 16:07:35 +02:00
map.go
sizes.go
symbol.go compiler: refactor public interface 2020-03-25 20:17:46 +01:00
syscall.go
volatile.go compiler: do not perform nil checking when indexing slices 2020-03-27 07:38:16 +01:00