| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index 7985dfaeddf91501f8d11defebadd7ae8339554f..d6af3267c4452683b5e9fcfec05779239abc6d22 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -3521,9 +3521,8 @@ void LCodeGen::DoDeclareGlobals(LDeclareGlobals* instr) {
|
| DCHECK(ToRegister(instr->context()).is(cp));
|
| __ li(scratch0(), instr->hydrogen()->pairs());
|
| __ li(scratch1(), Operand(Smi::FromInt(instr->hydrogen()->flags())));
|
| - // The context is the first argument.
|
| - __ Push(cp, scratch0(), scratch1());
|
| - CallRuntime(Runtime::kDeclareGlobals, 3, instr);
|
| + __ Push(scratch0(), scratch1());
|
| + CallRuntime(Runtime::kDeclareGlobals, 2, instr);
|
| }
|
|
|
|
|
|
|