فهرست منبع

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

Andreas Kling 4 سال پیش
والد
کامیت
5a050cb8d1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Userland/Libraries/LibX86/Instruction.h

+ 1 - 1
Userland/Libraries/LibX86/Instruction.h

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