Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 50ed8b1da738e9cedba1e69e98b56c4b5e05d5b0..91f9e1fa4773fc294216f71b0e446c3f46f67f68 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1129,7 +1129,7 @@ void FullCodeGenerator::EmitLoadGlobalCheckExtensions(Variable* var, |
} |
// If no outer scope calls eval, we do not need to check more |
// context extensions. |
- 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(); |
} |