1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00

LibX86: Remove i686 support

This commit is contained in:
Liav A 2022-11-27 15:42:51 +02:00 committed by Andreas Kling
parent eca57006f6
commit e1ee8f89f2

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
} }