Index: src/ppc/lithium-codegen-ppc.cc |
diff --git a/src/ppc/lithium-codegen-ppc.cc b/src/ppc/lithium-codegen-ppc.cc |
index 74a486f54543f239cf4218987dc7246287c2ccc3..e5dd69aa12dc43416413dcc4ef516e4bbb1a9046 100644 |
--- a/src/ppc/lithium-codegen-ppc.cc |
+++ b/src/ppc/lithium-codegen-ppc.cc |
@@ -3762,12 +3762,11 @@ void LCodeGen::DoContext(LContext* instr) { |
void LCodeGen::DoDeclareGlobals(LDeclareGlobals* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
- __ push(cp); // The context is the first argument. |
__ Move(scratch0(), instr->hydrogen()->pairs()); |
__ push(scratch0()); |
__ LoadSmiLiteral(scratch0(), Smi::FromInt(instr->hydrogen()->flags())); |
__ push(scratch0()); |
- CallRuntime(Runtime::kDeclareGlobals, 3, instr); |
+ CallRuntime(Runtime::kDeclareGlobals, 2, instr); |
} |