mirror of
https://github.com/RoBaertschi/tt.git
synced 2025-04-16 05:53: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 {
|
if offset, ok := r.identToOffset[string(pseudo)]; ok {
|
||||||
return Stack(offset)
|
return Stack(offset)
|
||||||
} else {
|
} else {
|
||||||
r.currentOffset -= 4
|
r.currentOffset -= 8
|
||||||
r.identToOffset[string(pseudo)] = r.currentOffset
|
r.identToOffset[string(pseudo)] = r.currentOffset
|
||||||
return Stack(r.currentOffset)
|
return Stack(r.currentOffset)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user