[riscv64] Delete extra scratch reg

Change-Id: Ib145fcc89ff15d06de8205e67280798ed8f36aac
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3612667
Reviewed-by: ji qiu <qiuji@iscas.ac.cn>
Commit-Queue: ji qiu <qiuji@iscas.ac.cn>
Auto-Submit: Yahan Lu <yahan@iscas.ac.cn>
Cr-Commit-Position: refs/heads/main@{#80242}
This commit is contained in:
Lu Yahan 2022-04-28 10:42:35 +08:00 committed by V8 LUCI CQ
parent ee866433ad
commit 359c48d908

View File

@ -192,8 +192,6 @@ void Builtins::Generate_JSConstructStubGeneric(MacroAssembler* masm) {
static_cast<uint32_t>(FunctionKind::kDefaultDerivedConstructor),
static_cast<uint32_t>(FunctionKind::kDerivedConstructor),
&not_create_implicit_receiver);
Register scratch = func_info;
Register scratch2 = temps.Acquire();
// If not derived class constructor: Allocate the new receiver object.
__ Call(BUILTIN_CODE(masm->isolate(), FastNewObject),
RelocInfo::CODE_TARGET);