Skip to content

Commit

Permalink
Reorder Instruction() parameters...
Browse files Browse the repository at this point in the history
to follow disassemble-based order
  • Loading branch information
rocky committed Mar 8, 2024
1 parent 16c08fa commit bd1637d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions decompyle3/scanners/scanner37base.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,20 +372,20 @@ def tokens_append(j, token):
# but the operator and operand properties come from the other
# instruction
self.insts[i] = Instruction(
opcode=jump_inst.opcode,
is_jump_target=inst.is_jump_target,
starts_line=inst.starts_line,
offset=inst.offset,
opname=jump_inst.opname,
opcode=jump_inst.opcode,
has_arg=jump_inst.has_arg,
arg=jump_inst.arg,
argval=jump_inst.argval,
argrepr=jump_inst.argrepr,
offset=inst.offset,
starts_line=inst.starts_line,
is_jump_target=inst.is_jump_target,
tos_str=None,
positions=None,
optype=jump_inst.optype,
has_arg=jump_inst.has_arg,
inst_size=jump_inst.inst_size,
has_extended_arg=inst.has_extended_arg,
tos_str=None,
start_offset=None,
)

Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit bd1637d

Please sign in to comment.