Commit 3bbf28d8 authored by Taddeus Kroes's avatar Taddeus Kroes

Fixed syntax error.

parent 44430167
......@@ -17,8 +17,9 @@ def is_reg_dead_after(reg, block, index, known_jump_targets=[]):
if reg in RESERVED_USE and block[-1].is_command('jal') \
and block[-1][0] not in known_jump_targets:
if block.verbose:
block[].set_inline_comment('Cannot be removed due to "jal"')
print 'Found conclicting jump with %s:' % reg, block[-1]
block[index].set_inline_comment(
'Register %s cannot be removed due to "jal %s"'
% (reg, block[-1][0]))
return False
if index < len(block) - 1:
......
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