diff --git a/src/baseline/baseline.cc b/src/baseline/baseline.cc index 40647f1aed..b5355660f9 100644 --- a/src/baseline/baseline.cc +++ b/src/baseline/baseline.cc @@ -4,6 +4,8 @@ #include "src/baseline/baseline.h" +#include "src/handles/maybe-handles.h" + // TODO(v8:11421): Remove #if once baseline compiler is ported to other // architectures. #if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_ARM64 || \ @@ -46,8 +48,8 @@ void EmitReturnBaseline(MacroAssembler* masm) { namespace v8 { namespace internal { -Handle GenerateBaselineCode(Isolate* isolate, - Handle shared) { +MaybeHandle GenerateBaselineCode(Isolate* isolate, + Handle shared) { UNREACHABLE(); }