Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Side by Side Diff: src/ast-numbering.cc

Issue 974213002: Extract ParseInfo from CompilationInfo. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/api.cc ('k') | src/background-parsing-task.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/ast.h" 7 #include "src/ast.h"
8 #include "src/ast-numbering.h" 8 #include "src/ast-numbering.h"
9 #include "src/compiler.h"
10 #include "src/scopes.h" 9 #include "src/scopes.h"
11 10
12 namespace v8 { 11 namespace v8 {
13 namespace internal { 12 namespace internal {
14 13
15 14
16 class AstNumberingVisitor FINAL : public AstVisitor { 15 class AstNumberingVisitor FINAL : public AstVisitor {
17 public: 16 public:
18 explicit AstNumberingVisitor(Isolate* isolate, Zone* zone) 17 explicit AstNumberingVisitor(Isolate* isolate, Zone* zone)
19 : AstVisitor(), 18 : AstVisitor(),
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 } 550 }
552 551
553 552
554 bool AstNumbering::Renumber(Isolate* isolate, Zone* zone, 553 bool AstNumbering::Renumber(Isolate* isolate, Zone* zone,
555 FunctionLiteral* function) { 554 FunctionLiteral* function) {
556 AstNumberingVisitor visitor(isolate, zone); 555 AstNumberingVisitor visitor(isolate, zone);
557 return visitor.Renumber(function); 556 return visitor.Renumber(function);
558 } 557 }
559 } 558 }
560 } // namespace v8::internal 559 } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/background-parsing-task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698