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

Unified 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, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ast.cc ('k') | src/ast-numbering.cc » ('j') | src/ast-numbering.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast-numbering.h
diff --git a/src/ast-numbering.h b/src/ast-numbering.h
index ab97c22bdfea5c44b1f31a93efa86e3172e32c49..9835e906ef39d86cf6a4f590170cefddf9146fb2 100644
--- a/src/ast-numbering.h
+++ b/src/ast-numbering.h
@@ -9,9 +9,16 @@ namespace v8 {
namespace internal {
namespace AstNumbering {
+
// Assign type feedback IDs and bailout IDs to an AST node tree.
//
bool Renumber(FunctionLiteral* function, Zone* zone);
+
+// The same as above, but also updating the AST node count, bailout reason, and
+// dont_cache flag of the SharedFunctionInfo after the visit.
+//
+bool Renumber(FunctionLiteral* function, Handle<SharedFunctionInfo> shared,
+ Zone* zone);
}
}
} // namespace v8::internal
« 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