| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 985a95124628b5ba02f119a143d8d822106f625a..c57510d19d5b6e690d10f545a6d8ce83816802bb 100755
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -99,7 +99,7 @@ void CompilationInfo::DisableOptimization() {
|
| FLAG_optimize_closures &&
|
| closure_.is_null() &&
|
| !scope_->HasTrivialOuterContext() &&
|
| - !scope_->outer_scope_calls_eval() &&
|
| + !scope_->outer_scope_calls_non_strict_eval() &&
|
| !scope_->inside_with();
|
| SetMode(is_optimizable_closure ? BASE : NONOPT);
|
| }
|
|
|