Chromium Code Reviews| 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 { | |
|
Sven Panne
2014/10/15 07:41:56
This is not really a class, using a namespace migh
wingo
2014/10/15 13:53:19
Done.
| |
| 14 public: | |
| 15 // Assign type feedback IDs, bailout IDs, and other state to an AST node | |
|
Sven Panne
2014/10/15 07:41:56
Remove the "and other state" part for now.
| |
| 16 // tree. | |
| 17 // | |
| 18 // Mutates the AST, so the AST should not continue to be used in the case of | |
| 19 // failure. | |
|
Sven Panne
2014/10/15 07:41:56
Actually, this is not true: We just failed to set
| |
| 20 static bool Renumber(FunctionLiteral* function, Zone* zone); | |
| 21 }; | |
| 22 } | |
| 23 } // namespace v8::internal | |
| 24 | |
| 25 #endif // V8_AST_NUMBERING_H_ | |
| OLD | NEW |