tinygo/testdata
Jaden Weiss 5cc130bb6e
compiler: implement spec-compliant shifts
Previously, the compiler used LLVM's shift instructions directly, which have UB whenever the shifts are large or negative.
This commit adds runtime checks for negative shifts, and handles oversized shifts.
2020-03-28 17:35:19 +01:00
..
cgo
alias.go
alias.txt fix bug in IR regarding type aliases 2019-09-20 10:35:49 +02:00
binop.go compiler: implement spec-compliant shifts 2020-03-28 17:35:19 +01:00
binop.txt compiler: implement spec-compliant shifts 2020-03-28 17:35:19 +01:00
calls.go
calls.txt
channel.go compiler,runtime: check for channel size limits 2020-03-13 16:15:36 -07:00
channel.txt
coroutines.go
coroutines.txt
float.go
float.txt
gc.go
gc.txt
init.go
init.txt interp: implement runtime.sliceCopy 2019-09-24 18:16:43 +02:00
init_multi.go
init_multi.txt
interface.go interp: add support for constant type asserts 2020-03-20 22:22:24 +01:00
interface.txt compiler: add support for async interface calls 2019-11-17 23:46:10 +01:00
map.go
map.txt compiler,runtime: support operations on nil map 2020-02-26 20:42:01 +01:00
math.go
math.txt
print.go
print.txt
reflect.go
reflect.txt compiler: fix interface lowering miscompilation with reflect 2019-10-25 09:35:05 -04:00
slice.go
slice.txt compiler: compare slice against nil 2018-10-20 17:22:51 +02:00
stdlib.go
stdlib.txt
string.go compiler,runtime: implement []rune to string conversion 2019-08-11 15:45:35 +02:00
string.txt
structs.go
structs.txt
zeroalloc.go
zeroalloc.txt add code to handle programs which use heap allocations but never hit the GC 2019-11-17 15:14:51 +01:00