[sparkplug] Simplify arch-guards to ENABLE_SPARKPLUG
There is still a place to simplify. Bug: v8:11420, v8:11421 Change-Id: I774139c52d911323f162350532a493e70f518643 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3096885 Auto-Submit: Yahan Lu <yahan@iscas.ac.cn> Commit-Queue: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/master@{#76296}
This commit is contained in:
parent
2e3b1bdd20
commit
e74d6918fb
@ -6,9 +6,8 @@
|
||||
|
||||
// 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 || \
|
||||
V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_RISCV64 || V8_TARGET_ARCH_MIPS64 || \
|
||||
V8_TARGET_ARCH_MIPS
|
||||
#include "src/flags/flags.h"
|
||||
#if ENABLE_SPARKPLUG
|
||||
|
||||
#include "src/baseline/baseline-compiler.h"
|
||||
#include "src/codegen/compiler.h"
|
||||
|
@ -1053,9 +1053,7 @@ void Builtins::Generate_MemMove(MacroAssembler* masm) {
|
||||
|
||||
// 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 || \
|
||||
V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_RISCV64 || V8_TARGET_ARCH_MIPS64 || \
|
||||
V8_TARGET_ARCH_MIPS
|
||||
#if ENABLE_SPARKPLUG
|
||||
void Builtins::Generate_BaselineLeaveFrame(MacroAssembler* masm) {
|
||||
EmitReturnBaseline(masm);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user