blob: 0ac1ef2134352ebe12d9b031b974ada2fd3ce598 [file] [log] [blame]
Ben Murdoch4a90d5f2016-03-22 12:00:34 +00001// 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_AST_NUMBERING_H_
6#define V8_AST_AST_NUMBERING_H_
7
8namespace v8 {
9namespace internal {
10
11// Forward declarations.
12class FunctionLiteral;
13class Isolate;
14class Zone;
15
16namespace AstNumbering {
17// Assign type feedback IDs and bailout IDs to an AST node tree.
18//
19bool Renumber(Isolate* isolate, Zone* zone, FunctionLiteral* function);
20}
21
22} // namespace internal
23} // namespace v8
24
25#endif // V8_AST_AST_NUMBERING_H_