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