| Index: src/ast/ast-numbering.cc
|
| diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc
|
| index f891bd72366eef075df45dfbc2f02eff0e5cb5ce..5ce06ba9dc9a8c51ba65d2e005457be383c9a362 100644
|
| --- a/src/ast/ast-numbering.cc
|
| +++ b/src/ast/ast-numbering.cc
|
| @@ -233,14 +233,6 @@ void AstNumberingVisitor::VisitCountOperation(CountOperation* node) {
|
| void AstNumberingVisitor::VisitBlock(Block* node) {
|
| IncrementNodeCount();
|
| node->set_base_id(ReserveIdRange(Block::num_ids()));
|
| -
|
| - if (FLAG_ignition && node->scope() != nullptr &&
|
| - node->scope()->NeedsContext()) {
|
| - // Create ScopeInfo while on the main thread to avoid allocation during
|
| - // potentially concurrent bytecode generation.
|
| - node->scope()->GetScopeInfo(isolate_);
|
| - }
|
| -
|
| if (node->scope() != NULL) VisitDeclarations(node->scope()->declarations());
|
| VisitStatements(node->statements());
|
| }
|
| @@ -579,12 +571,6 @@ bool AstNumberingVisitor::Renumber(FunctionLiteral* node) {
|
| DisableCrankshaft(kRestParameter);
|
| }
|
|
|
| - if (FLAG_ignition && scope->NeedsContext() && scope->is_script_scope()) {
|
| - // Create ScopeInfo while on the main thread to avoid allocation during
|
| - // potentially concurrent bytecode generation.
|
| - node->scope()->GetScopeInfo(isolate_);
|
| - }
|
| -
|
| if (IsGeneratorFunction(node->kind()) || IsAsyncFunction(node->kind())) {
|
| // TODO(neis): We may want to allow Turbofan optimization here if
|
| // --turbo-from-bytecode is set and we know that Ignition is used.
|
|
|