1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:07:34 +00:00

LibX86: Don't use "if (foo) [[unlikely]] { }" for now (to please clang)

This commit is contained in:
Andreas Kling 2021-03-09 17:47:28 +01:00
parent ad152bfa59
commit 5a050cb8d1

View file

@ -833,7 +833,7 @@ ALWAYS_INLINE Instruction::Instruction(InstructionStreamType& stream, bool o32,
m_descriptor = &m_descriptor->slashes[rm() & 7];
}
if (!m_descriptor->mnemonic) [[unlikely]] {
if (!m_descriptor->mnemonic) {
if (has_sub_op()) {
if (has_slash)
fprintf(stderr, "Instruction %02X %02X /%u not understood\n", m_op, m_sub_op, slash());