diff options
-rw-r--r-- | Userland/Libraries/LibX86/Disassembler.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Userland/Libraries/LibX86/Disassembler.h b/Userland/Libraries/LibX86/Disassembler.h index 9cc2b998ea..a4038f7d91 100644 --- a/Userland/Libraries/LibX86/Disassembler.h +++ b/Userland/Libraries/LibX86/Disassembler.h @@ -22,15 +22,11 @@ public: { if (!m_stream.can_read()) return {}; -#if ARCH(I386) - return Instruction::from_stream(m_stream, ProcessorMode::Protected); -#else -# if ARCH(X86_64) +#if ARCH(X86_64) return Instruction::from_stream(m_stream, ProcessorMode::Long); -# else +#else dbgln("Unsupported platform"); return {}; -# endif #endif } |