Skip to content
Snippets Groups Projects
Commit 19cebc60 authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Merge branch 'master' of github.com:taddeus/peephole

parents 36ef7967 7d47e370
No related branches found
No related tags found
No related merge requests found
......@@ -194,7 +194,8 @@ class Statement:
if self.is_double_arithmetic() or self.is_set_if_less() \
or self.is_logical() \
or self.is_command(*['addu', 'subu']):
use.append(self[2])
if not isinstance(self[2] , int):
use.append(self[2])
return use
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment