| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 253387f42d5346e1a14cf49f040401486af88c39..36baa1d5bc784d25e0e60e31093a654277b159fe 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -771,9 +771,8 @@ void FullCodeGenerator::DeclareGlobals(Handle<FixedArray> pairs) {
|
| // Call the runtime to declare the globals.
|
| __ push(esi); // The context is the first argument.
|
| __ push(Immediate(pairs));
|
| - __ push(Immediate(Smi::FromInt(is_eval() ? 1 : 0)));
|
| - __ push(Immediate(Smi::FromInt(strict_mode_flag())));
|
| - __ CallRuntime(Runtime::kDeclareGlobals, 4);
|
| + __ push(Immediate(Smi::FromInt(DeclareGlobalsFlags())));
|
| + __ CallRuntime(Runtime::kDeclareGlobals, 3);
|
| // Return value is ignored.
|
| }
|
|
|
|
|