diff options
author | Ayke van Laethem <[email protected]> | 2024-02-27 14:18:47 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2024-02-27 15:16:38 +0100 |
commit | 1f6d34d995a0c77117b63c3e287549322d3c5d1f (patch) | |
tree | bb8f390833488fce22f26213bf20e18204493915 /main.go | |
parent | 9951eb9990071aaf5e29665cc3185c1abe7368dc (diff) | |
download | tinygo-1f6d34d995a0c77117b63c3e287549322d3c5d1f.tar.gz tinygo-1f6d34d995a0c77117b63c3e287549322d3c5d1f.zip |
interp: make getelementptr offsets signed
getelementptr offsets are signed, not unsigned. Yet they were used as
unsigned integers in interp.
Somehow this worked most of the time, until finally there was some code
that did a getelementptr with a negative index.
Diffstat (limited to 'main.go')
0 files changed, 0 insertions, 0 deletions