Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index d5a3d81d064cf72ff4ebfa58a547870ae96e73f4..51d56caef78ce68f544351afdc768e3e7fd70057 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -3582,12 +3582,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()); |
__ mov(scratch0(), Operand(Smi::FromInt(instr->hydrogen()->flags()))); |
__ push(scratch0()); |
- CallRuntime(Runtime::kDeclareGlobals, 3, instr); |
+ CallRuntime(Runtime::kDeclareGlobals, 2, instr); |
} |