| OLD | NEW |
| 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 // Forward declarations. |
| 12 class FunctionLiteral; |
| 13 class Isolate; |
| 14 class Zone; |
| 15 |
| 11 namespace AstNumbering { | 16 namespace AstNumbering { |
| 12 // Assign type feedback IDs and bailout IDs to an AST node tree. | 17 // Assign type feedback IDs and bailout IDs to an AST node tree. |
| 13 // | 18 // |
| 14 bool Renumber(Isolate* isolate, Zone* zone, FunctionLiteral* function); | 19 bool Renumber(Isolate* isolate, Zone* zone, FunctionLiteral* function); |
| 15 } | 20 } |
| 16 } | 21 |
| 17 } // namespace v8::internal | 22 } // namespace internal |
| 23 } // namespace v8 |
| 18 | 24 |
| 19 #endif // V8_AST_NUMBERING_H_ | 25 #endif // V8_AST_NUMBERING_H_ |
| OLD | NEW |