From acfe7802b589e9cf27c8d92f2b484210607194ad Mon Sep 17 00:00:00 2001 From: Liu Yu Date: Tue, 3 Aug 2021 14:49:33 +0800 Subject: [PATCH] [mips] Fix some tests error Change-Id: I09ea01231fc3f646f215ff9fca0b526357d04385 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3068322 Auto-Submit: Liu yu Reviewed-by: Zhao Jiazhong Commit-Queue: Zhao Jiazhong Cr-Commit-Position: refs/heads/master@{#76048} --- src/builtins/mips/builtins-mips.cc | 2 +- src/builtins/mips64/builtins-mips64.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/builtins/mips/builtins-mips.cc b/src/builtins/mips/builtins-mips.cc index 02f540e6d5..1bba2ff253 100644 --- a/src/builtins/mips/builtins-mips.cc +++ b/src/builtins/mips/builtins-mips.cc @@ -1018,7 +1018,7 @@ static void MaybeOptimizeCodeOrTailCallOptimizedCodeSlot( // static void Builtins::Generate_BaselineOutOfLinePrologue(MacroAssembler* masm) { UseScratchRegisterScope temps(masm); - temps.Include(kScratchReg.bit() | kScratchReg2.bit()); + temps.Include(s1.bit() | s2.bit()); auto descriptor = Builtins::CallInterfaceDescriptorFor(Builtin::kBaselineOutOfLinePrologue); Register closure = descriptor.GetRegisterParameter( diff --git a/src/builtins/mips64/builtins-mips64.cc b/src/builtins/mips64/builtins-mips64.cc index 740b5c6f9e..0211546051 100644 --- a/src/builtins/mips64/builtins-mips64.cc +++ b/src/builtins/mips64/builtins-mips64.cc @@ -1030,7 +1030,7 @@ static void MaybeOptimizeCodeOrTailCallOptimizedCodeSlot( // static void Builtins::Generate_BaselineOutOfLinePrologue(MacroAssembler* masm) { UseScratchRegisterScope temps(masm); - temps.Include(kScratchReg.bit() | kScratchReg2.bit()); + temps.Include(s1.bit() | s2.bit()); auto descriptor = Builtins::CallInterfaceDescriptorFor(Builtin::kBaselineOutOfLinePrologue); Register closure = descriptor.GetRegisterParameter(