Commit 92cbe0e3 authored by Milad Fa's avatar Milad Fa Committed by Commit Bot

[sparkplug] fix compilation error on unsupported architectures

Handler was changed on supported architectures in this CL:
https://crrev.com/c/2786846

Change-Id: Ib7a63f12eccb956c4d7b84297f2f1514f053431a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2787196Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
Commit-Queue: Milad Fa <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/master@{#73724}
parent 0d1fb3c7
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
#include "src/baseline/baseline.h" #include "src/baseline/baseline.h"
#include "src/handles/maybe-handles.h"
// TODO(v8:11421): Remove #if once baseline compiler is ported to other // TODO(v8:11421): Remove #if once baseline compiler is ported to other
// architectures. // architectures.
#if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_ARM64 || \ #if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_ARM64 || \
...@@ -46,8 +48,8 @@ void EmitReturnBaseline(MacroAssembler* masm) { ...@@ -46,8 +48,8 @@ void EmitReturnBaseline(MacroAssembler* masm) {
namespace v8 { namespace v8 {
namespace internal { namespace internal {
Handle<Code> GenerateBaselineCode(Isolate* isolate, MaybeHandle<Code> GenerateBaselineCode(Isolate* isolate,
Handle<SharedFunctionInfo> shared) { Handle<SharedFunctionInfo> shared) {
UNREACHABLE(); UNREACHABLE();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment