Skip to content

Commit

Permalink
Fix bug in disassembler introduced in previous previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
iafisher committed Mar 8, 2019
1 parent 1c5f85b commit 4f1977c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hera/op.py
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ def execute(self, vm):

def disassemble(v: int) -> AbstractOperation:
for cls in name_to_class.values():
if hasattr(cls, "BITV"):
if cls.BITV != "":
m = match_bitvector(cls.BITV, v)
if m is not False and isinstance(m, list):
return cls.disassemble(*m)
Expand Down

0 comments on commit 4f1977c

Please sign in to comment.