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