Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: src/ppc/code-stubs-ppc.cc

Issue 1559013005: PPC: Remove strong mode support from rest argument creation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/full-codegen/ppc/full-codegen-ppc.cc ('k') | src/ppc/interface-descriptors-ppc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ppc/code-stubs-ppc.cc
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc
index e2864fd7dbb8f5c9a8b85b7ac87abdfff945f909..bff6db18fbaf350219b2fe18855de4aa91968f4d 100644
--- a/src/ppc/code-stubs-ppc.cc
+++ b/src/ppc/code-stubs-ppc.cc
@@ -1980,7 +1980,6 @@ void RestParamAccessStub::GenerateNew(MacroAssembler* masm) {
// r5 : number of parameters (tagged)
// r6 : parameters pointer
// r7 : rest parameter index (tagged)
- // r4 : language mode (tagged)
Label runtime;
__ LoadP(r8, MemOperand(fp, StandardFrameConstants::kCallerFPOffset));
@@ -1995,7 +1994,7 @@ void RestParamAccessStub::GenerateNew(MacroAssembler* masm) {
__ addi(r6, r6, Operand(StandardFrameConstants::kCallerSPOffset));
__ bind(&runtime);
- __ Push(r5, r6, r7, r4);
+ __ Push(r5, r6, r7);
__ TailCallRuntime(Runtime::kNewRestParam);
}
« no previous file with comments | « src/full-codegen/ppc/full-codegen-ppc.cc ('k') | src/ppc/interface-descriptors-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698