Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
[opcode] fix IS_OP
Browse files Browse the repository at this point in the history
  • Loading branch information
gouzil committed Jun 6, 2023
1 parent 0332cd5 commit 6b25123
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions symbolic_trace/opcode_translator/executor/opcode_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,8 +693,7 @@ def COMPARE_OP(self, instr):
def IS_OP(self, instr):
# It will only be 0 or 1
assert instr.argval == 0 or instr.argval == 1
left = self.pop()
right = self.pop()
right, left = self.pop(), self.pop()
if instr.argval == 0:
self.push(SUPPORT_COMPARE_OP["is"](left, right))
else:
Expand Down

0 comments on commit 6b25123

Please sign in to comment.