Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 81c9ccb12807f6ed0e9abc77fd3db1f2c4336579..8e4fa036d7b148d8255819a788208325aca284d1 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -1113,7 +1113,7 @@ void FullCodeGenerator::EmitLoadGlobalCheckExtensions(Variable* var, |
// If no outer scope calls eval, we do not need to check more |
// context extensions. If we have reached an eval scope, we check |
// all extensions from this point. |
- if (!s->outer_scope_calls_eval() || s->is_eval_scope()) break; |
+ if (!s->outer_scope_calls_non_strict_eval() || s->is_eval_scope()) break; |
s = s->outer_scope(); |
} |