OLD | NEW |
(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_ |
OLD | NEW |