LibX86: Remove i686 support

This commit is contained in:
Liav A 2022-11-27 15:42:51 +02:00 committed by Andreas Kling
commit e1ee8f89f2
Notes: sideshowbarker 2024-07-17 05:03:11 +09:00

View file

@ -22,15 +22,11 @@ public:
{ {
if (!m_stream.can_read()) if (!m_stream.can_read())
return {}; return {};
#if ARCH(I386) #if ARCH(X86_64)
return Instruction::from_stream(m_stream, ProcessorMode::Protected);
#else
# if ARCH(X86_64)
return Instruction::from_stream(m_stream, ProcessorMode::Long); return Instruction::from_stream(m_stream, ProcessorMode::Long);
# else #else
dbgln("Unsupported platform"); dbgln("Unsupported platform");
return {}; return {};
# endif
#endif #endif
} }