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); |