summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibX86
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-09 17:47:28 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-09 17:47:28 +0100
commit5a050cb8d167e69c749fca2303decc4730e01620 (patch)
treef0beef32faf7efec54ad97bf50f49cd5e87e5fc5 /Userland/Libraries/LibX86
parentad152bfa59945a31a8d2714f00cb830da07b21b6 (diff)
downloadserenity-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.h2
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());