diff options
author | Liav A <liavalb@gmail.com> | 2022-11-27 15:42:51 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-28 11:53:41 +0100 |
commit | e1ee8f89f230fd68d22741d58ced08df65118153 (patch) | |
tree | 68d6e787e79fbd3b6bc78993a54bf5c8fcdd432d /Userland | |
parent | eca57006f66027ccac19efab7485e96b584217ef (diff) | |
download | serenity-e1ee8f89f230fd68d22741d58ced08df65118153.zip |
LibX86: Remove i686 support
Diffstat (limited to 'Userland')
-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 } |