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

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

Issue 660083005: AstNumberingVisitor does the work of AstConstructionVisitor (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #ifndef V8_AST_NUMBERING_H_ 5 #ifndef V8_AST_NUMBERING_H_
6 #define V8_AST_NUMBERING_H_ 6 #define V8_AST_NUMBERING_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
11 namespace AstNumbering { 11 namespace AstNumbering {
12
12 // Assign type feedback IDs and bailout IDs to an AST node tree. 13 // Assign type feedback IDs and bailout IDs to an AST node tree.
13 // 14 //
14 bool Renumber(FunctionLiteral* function, Zone* zone); 15 bool Renumber(FunctionLiteral* function, Zone* zone);
16
17 // The same as above, but also updating the AST node count, bailout reason, and
18 // dont_cache flag of the SharedFunctionInfo after the visit.
19 //
20 bool Renumber(FunctionLiteral* function, Handle<SharedFunctionInfo> shared,
21 Zone* zone);
15 } 22 }
16 } 23 }
17 } // namespace v8::internal 24 } // namespace v8::internal
18 25
19 #endif // V8_AST_NUMBERING_H_ 26 #endif // V8_AST_NUMBERING_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/ast-numbering.cc » ('j') | src/ast-numbering.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698