| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 3d8e61b17b72897fc4e7b975927f2e27762b7c31..664df75c2e65ca641da117b28621726c53b9a0af 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -1109,7 +1109,7 @@ void FullCodeGenerator::EmitLoadGlobalCheckExtensions(Variable* var,
|
| Scope* s = scope();
|
| while (s != NULL) {
|
| if (s->num_heap_slots() > 0) {
|
| - if (s->calls_eval()) {
|
| + if (s->calls_non_strict_eval()) {
|
| // Check that extension is NULL.
|
| __ cmp(ContextOperand(context, Context::EXTENSION_INDEX),
|
| Immediate(0));
|
| @@ -1168,7 +1168,7 @@ MemOperand FullCodeGenerator::ContextSlotOperandCheckExtensions(Variable* var,
|
|
|
| for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) {
|
| if (s->num_heap_slots() > 0) {
|
| - if (s->calls_eval()) {
|
| + if (s->calls_non_strict_eval()) {
|
| // Check that extension is NULL.
|
| __ cmp(ContextOperand(context, Context::EXTENSION_INDEX),
|
| Immediate(0));
|
|
|