Commit 359c48d9 authored by Lu Yahan's avatar Lu Yahan Committed by V8 LUCI CQ

[riscv64] Delete extra scratch reg

Change-Id: Ib145fcc89ff15d06de8205e67280798ed8f36aac
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3612667Reviewed-by: 's avatarji 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}
parent ee866433
......@@ -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);
......
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