Skip to content

Commit 7e576fa

Browse files
committed
Fix bug with small budget.
1 parent 1986dce commit 7e576fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/allocator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ def f(reg, cached, reverse):
852852
new_offset = -delta if reverse else delta
853853
mult = 1 if reverse else -1
854854
self.add_offset(inst.args[0], new_base, new_offset,
855-
mult if reverse else -mult)
855+
mult)
856856
if inst.args[1] in self.cache:
857857
f(inst.args[2], inst.args[1], False)
858858
elif inst.args[2] in self.cache:

0 commit comments

Comments
 (0)