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

Unified Diff: src/ppc/full-codegen-ppc.cc

Issue 1156823003: PPC: Refine '[strong] create strong array literals' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ppc/full-codegen-ppc.cc
diff --git a/src/ppc/full-codegen-ppc.cc b/src/ppc/full-codegen-ppc.cc
index 8945b2644ae320aeeaeeb8e550c8454e17bce897..f7829e8c6586d82256d9c71ee9d2cb2db83ae075 100644
--- a/src/ppc/full-codegen-ppc.cc
+++ b/src/ppc/full-codegen-ppc.cc
@@ -271,10 +271,10 @@ void FullCodeGenerator::Generate() {
}
__ addi(r6, fp, Operand(StandardFrameConstants::kCallerSPOffset + offset));
- __ mov(r5, Operand(Smi::FromInt(num_parameters)));
- __ mov(r4, Operand(Smi::FromInt(rest_index)));
- __ mov(r7, Operand(Smi::FromInt(language_mode())));
- __ Push(r6, r5, r4, r7);
+ __ LoadSmiLiteral(r5, Smi::FromInt(num_parameters));
+ __ LoadSmiLiteral(r4, Smi::FromInt(rest_index));
+ __ LoadSmiLiteral(r3, Smi::FromInt(language_mode()));
+ __ Push(r6, r5, r4, r3);
RestParamAccessStub stub(isolate());
__ CallStub(&stub);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698