tinygo/compiler
Ayke van Laethem ca823f9a0d compiler: remove unsafe.Pointer(uintptr(v) + idx) optimization
I have checked this conversion is not needed anymore after the previous
commit, by running various smoke tests of which none triggered this
optimization. The only case where the optimization would have kicked in
is in syscall/syscall_windows.go:76 of the Go standard library.
Therefore, I prefer to remove it to reduce code complexity.
2023-03-03 16:55:13 +01:00
..
ircheck all: remove pointer ElementType calls 2022-10-19 22:23:19 +02:00
llvmutil compiler: move some llvmutil code into the compiler 2023-01-18 08:24:42 +01:00
testdata compiler: remove unsafe.Pointer(uintptr(v) + idx) optimization 2023-03-03 16:55:13 +01:00
alias.go all: add type parameter to CreateCall 2022-10-19 22:23:19 +02:00
asserts.go compiler: add support for new unsafe slice/string functions 2023-01-17 08:38:54 +01:00
atomic.go all: add type parameter to CreateLoad 2022-10-19 22:23:19 +02:00
calls.go all: remove pointer ElementType calls 2022-10-19 22:23:19 +02:00
channel.go compiler: fix stack overflow when creating recursive pointer types 2022-12-22 17:45:05 +01:00
compiler.go compiler: remove unsafe.Pointer(uintptr(v) + idx) optimization 2023-03-03 16:55:13 +01:00
compiler_test.go compiler: zero struct padding during map operations 2023-02-25 22:40:08 +01:00
defer.go all: refactor reflect package 2023-02-17 22:54:34 +01:00
errors.go all: fix staticcheck warnings 2021-09-27 15:47:12 +02:00
func.go ci: add support for LLVM 15 2022-10-19 22:23:19 +02:00
gc.go wasm: avoid miscompile with ThinLTO 2023-01-18 08:24:42 +01:00
goroutine.go compiler: move some llvmutil code into the compiler 2023-01-18 08:24:42 +01:00
inlineasm.go all: add type parameter to CreateCall 2022-10-19 22:23:19 +02:00
interface.go compiler, reflect: add map key and element type info 2023-02-28 13:10:40 -08:00
interrupt.go all: replace llvm.Const* calls with builder.Create* calls 2022-10-19 22:23:19 +02:00
intrinsics.go runtime: implement KeepAlive using inline assembly 2023-02-18 10:50:26 +01:00
llvm.go wasm: avoid miscompile with ThinLTO 2023-01-18 08:24:42 +01:00
map.go compiler: zero struct padding during map operations 2023-02-25 22:40:08 +01:00
sizes.go compiler: fix unsafe.Sizeof for chan and map values 2022-09-01 03:53:27 +02:00
symbol.go avr: support ThinLTO 2022-11-18 18:40:38 +01:00
syscall.go all: add type parameter to CreateCall 2022-10-19 22:23:19 +02:00
volatile.go all: add type parameter to CreateLoad 2022-10-19 22:23:19 +02:00