mirror of
https://github.com/RoBaertschi/tt.git
synced 2025-04-15 21:43:30 +00:00
there has never been a stupider person then me
we use 64 bit integers, but only reserve 4 bytes for them, well, that is in fact not enough. They were overwriting each other, which caused some problems ;-)
This commit is contained in:
parent
8137b45788
commit
fa9777c2a8
@ -313,7 +313,7 @@ func pseudoToStack(op Operand, r *replacePseudoPass) Operand {
|
||||
if offset, ok := r.identToOffset[string(pseudo)]; ok {
|
||||
return Stack(offset)
|
||||
} else {
|
||||
r.currentOffset -= 4
|
||||
r.currentOffset -= 8
|
||||
r.identToOffset[string(pseudo)] = r.currentOffset
|
||||
return Stack(r.currentOffset)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user