Skip to content

Commit bd1637d

Browse files
committed
Reorder Instruction() parameters...
to follow disassemble-based order
1 parent 16c08fa commit bd1637d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

decompyle3/scanners/scanner37base.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -372,20 +372,20 @@ def tokens_append(j, token):
372372
# but the operator and operand properties come from the other
373373
# instruction
374374
self.insts[i] = Instruction(
375-
opcode=jump_inst.opcode,
375+
is_jump_target=inst.is_jump_target,
376+
starts_line=inst.starts_line,
377+
offset=inst.offset,
376378
opname=jump_inst.opname,
379+
opcode=jump_inst.opcode,
380+
has_arg=jump_inst.has_arg,
377381
arg=jump_inst.arg,
378382
argval=jump_inst.argval,
379383
argrepr=jump_inst.argrepr,
380-
offset=inst.offset,
381-
starts_line=inst.starts_line,
382-
is_jump_target=inst.is_jump_target,
384+
tos_str=None,
383385
positions=None,
384386
optype=jump_inst.optype,
385-
has_arg=jump_inst.has_arg,
386387
inst_size=jump_inst.inst_size,
387388
has_extended_arg=inst.has_extended_arg,
388-
tos_str=None,
389389
start_offset=None,
390390
)
391391

1.01 KB
Binary file not shown.
1.02 KB
Binary file not shown.

0 commit comments

Comments
 (0)