| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 799ba73a26328d62e60c36807af3d3ef0dcf8335..762974f9ef89ccde611453046d9e0f8efeeb9272 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -770,9 +770,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.
|
| }
|
|
|
|
|