mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
LibX86: When there are multiple REPZ/REPNZ prefixes, the last one wins
This commit is contained in:
parent
1924112d7d
commit
4eceea7c62
Notes:
sideshowbarker
2024-07-19 07:43:24 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/4eceea7c62d
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue