mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-21 07:06:04 +00:00
LibX86: When there are multiple REPZ/REPNZ prefixes, the last one wins
This commit is contained in:
@@ -896,8 +896,6 @@ Instruction::Instruction(InstructionStream& stream, bool o32, bool a32)
|
||||
continue;
|
||||
}
|
||||
if (opbyte == Prefix::REPZ || opbyte == Prefix::REPNZ) {
|
||||
// FIXME: What should we do here? Respect the first or last prefix?
|
||||
ASSERT(!m_rep_prefix);
|
||||
m_rep_prefix = opbyte;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user