Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index cf48ccfd4fa0af4798baacd37b68aa3a2150deef..1435f7723def102035c5551253978a7255912778 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -782,9 +782,9 @@ void FullCodeGenerator::DeclareGlobals(Handle<FixedArray> pairs) { |
// The context is the first argument. |
__ li(a2, Operand(pairs)); |
__ li(a1, Operand(Smi::FromInt(is_eval() ? 1 : 0))); |
- __ li(a0, Operand(Smi::FromInt(strict_mode_flag()))); |
+ __ li(a0, Operand(Smi::FromInt(DeclareGlobalsFlags()))); |
__ Push(cp, a2, a1, a0); |
- __ CallRuntime(Runtime::kDeclareGlobals, 4); |
+ __ CallRuntime(Runtime::kDeclareGlobals, 3); |
// Return value is ignored. |
} |