mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
MultipleInst now know how to handle Prefix
This commit is contained in:
@@ -660,7 +660,7 @@ class MultipleInstr(object):
|
||||
# Change DelayedJump to LabeledJump ?
|
||||
if isinstance(instruction, DelayedJump):
|
||||
return self.add_delayed_jump(instruction)
|
||||
if isinstance(instruction, Instruction):
|
||||
if isinstance(instruction, (Instruction, Prefix)):
|
||||
self.instrs[self.size] = instruction
|
||||
self.size += len(instruction.get_code())
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user