diff options
author | Andreas Kling <kling@serenityos.org> | 2021-03-09 17:47:28 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-09 17:47:28 +0100 |
commit | 5a050cb8d167e69c749fca2303decc4730e01620 (patch) | |
tree | f0beef32faf7efec54ad97bf50f49cd5e87e5fc5 /Userland/Libraries/LibX86 | |
parent | ad152bfa59945a31a8d2714f00cb830da07b21b6 (diff) | |
download | serenity-5a050cb8d167e69c749fca2303decc4730e01620.zip |
LibX86: Don't use "if (foo) [[unlikely]] { }" for now (to please clang)
Diffstat (limited to 'Userland/Libraries/LibX86')
-rw-r--r-- | Userland/Libraries/LibX86/Instruction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibX86/Instruction.h b/Userland/Libraries/LibX86/Instruction.h index 62debebd9c..0473841724 100644 --- a/Userland/Libraries/LibX86/Instruction.h +++ b/Userland/Libraries/LibX86/Instruction.h @@ -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()); |