Skip to content

Commit

Permalink
Back off "or" check using instructions vs opcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Jun 27, 2020
1 parent 598b587 commit 4007b8b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions uncompyle6/parsers/reducecheck/or_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ def or_check(self, lhs, n, rule, ast, tokens, first, last):
else:
jump_true = expr_jt[1][0]

jump_inst = self.insts[self.offset2inst_index[jump_true.offset]]
jmp_true_target = jump_inst.argval
jmp_true_target = jump_true.attr

last_token = tokens[last]
last_token_offset = last_token.off2int()
Expand Down

0 comments on commit 4007b8b

Please sign in to comment.