| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index fcb470d0283737bc27128236a1c7f8fc7cdda045..dea70b5c7ab4b3615e073b65731cb8f86a1a9854 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -3494,10 +3494,9 @@ void LCodeGen::DoContext(LContext* instr) {
|
|
|
| void LCodeGen::DoDeclareGlobals(LDeclareGlobals* instr) {
|
| DCHECK(ToRegister(instr->context()).is(rsi));
|
| - __ Push(rsi); // The context is the first argument.
|
| __ Push(instr->hydrogen()->pairs());
|
| __ Push(Smi::FromInt(instr->hydrogen()->flags()));
|
| - CallRuntime(Runtime::kDeclareGlobals, 3, instr);
|
| + CallRuntime(Runtime::kDeclareGlobals, 2, instr);
|
| }
|
|
|
|
|
|
|