From 5a050cb8d167e69c749fca2303decc4730e01620 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 9 Mar 2021 17:47:28 +0100 Subject: [PATCH] LibX86: Don't use "if (foo) [[unlikely]] { }" for now (to please clang) --- Userland/Libraries/LibX86/Instruction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());