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

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

Issue 636403003: Assign bailout and type feedback IDs in a post-pass (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef V8_AST_NUMBERING_H_
6 #define V8_AST_NUMBERING_H_
7
8 namespace v8 {
9 namespace internal {
10
11 class CompilationInfo;
12
13 class AstNumbering {
14 public:
15 // Assign type feedback IDs, bailout IDs, and other state to an AST node
16 // tree.
17 //
18 // Mutates the AST, so the AST should not continue to be used in the case of
19 // failure.
20 static bool Renumber(CompilationInfo* info);
21 };
22 }
23 } // namespace v8::internal
24
25 #endif // V8_AST_NUMBERING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698