Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index ca9ea3bf1ade8658855a5faccc019d760c2c099f..a74f325d3dad35eec1a39733c0d46a626f91675e 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -845,7 +845,6 @@ void RestParamAccessStub::GenerateNew(MacroAssembler* masm) { |
// rcx : number of parameters (tagged) |
// rdx : parameters pointer |
// rbx : rest parameter index (tagged) |
- // rdi : language mode (tagged) |
// rsp[0] : return address |
// Check if the calling frame is an arguments adaptor frame. |
@@ -867,7 +866,6 @@ void RestParamAccessStub::GenerateNew(MacroAssembler* masm) { |
__ Push(rcx); // Push number of parameters. |
__ Push(rdx); // Push parameters pointer. |
__ Push(rbx); // Push rest parameter index. |
- __ Push(rdi); // Push language mode. |
__ PushReturnAddressFrom(rax); |
__ TailCallRuntime(Runtime::kNewRestParam); |
} |