| Index: src/ast/ast-numbering.cc
|
| diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc
|
| index d0101828d6897f99c91e069024460c4aae10ebf6..0785d5a42d529a481d215834b05ccbfbd9d6824c 100644
|
| --- a/src/ast/ast-numbering.cc
|
| +++ b/src/ast/ast-numbering.cc
|
| @@ -561,7 +561,7 @@ void AstNumberingVisitor::VisitRewritableExpression(
|
| bool AstNumberingVisitor::Renumber(FunctionLiteral* node) {
|
| DeclarationScope* scope = node->scope();
|
| if (scope->new_target_var()) DisableCrankshaft(kSuperReference);
|
| - if (scope->calls_eval()) DisableOptimization(kFunctionCallsEval);
|
| + if (scope->calls_eval()) DisableCrankshaft(kFunctionCallsEval);
|
| if (scope->arguments() != NULL && !scope->arguments()->IsStackAllocated()) {
|
| DisableCrankshaft(kContextAllocatedArguments);
|
| }
|
|
|