diff --git a/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp b/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp index def0dc399b5..cb47b2b2c72 100644 --- a/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp +++ b/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp @@ -330,7 +330,14 @@ Interpreter::HandleExceptionResponse Interpreter::handle_exception(size_t& progr VERIFY_NOT_REACHED(); } -void Interpreter::run_bytecode(size_t entry_point) +// FIXME: GCC takes a *long* time to compile with flattening, and it will time out our CI. :| +#if defined(AK_COMPILER_CLANG) +# define FLATTEN_ON_CLANG FLATTEN +#else +# define FLATTEN_ON_CLANG +#endif + +FLATTEN_ON_CLANG void Interpreter::run_bytecode(size_t entry_point) { auto& running_execution_context = vm().running_execution_context(); auto* locals = running_execution_context.locals.data();