Commit b53e9197 authored by Jayke Meijer's avatar Jayke Meijer

Fixed typo in constant folding.

parent ccaa52ac
......@@ -137,7 +137,7 @@ def fold_constants(block):
if reg_from in register:
# Other value is also known, copy its value
register[reg_to] = register[reg_to]
register[reg_to] = register[reg_from]
else:
# Other value is unknown, delete the value
del register[reg_to]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment