summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-11-27 15:42:51 +0200
committerAndreas Kling <kling@serenityos.org>2022-12-28 11:53:41 +0100
commite1ee8f89f230fd68d22741d58ced08df65118153 (patch)
tree68d6e787e79fbd3b6bc78993a54bf5c8fcdd432d /Userland
parenteca57006f66027ccac19efab7485e96b584217ef (diff)
downloadserenity-e1ee8f89f230fd68d22741d58ced08df65118153.zip
LibX86: Remove i686 support
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibX86/Disassembler.h8
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
}