Index: src/ast-numbering.h |
diff --git a/src/ast-numbering.h b/src/ast-numbering.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1df714498e36e464dbc08fb7d2c493cbab5dbc20 |
--- /dev/null |
+++ b/src/ast-numbering.h |
@@ -0,0 +1,25 @@ |
+// Copyright 2014 the V8 project authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef V8_AST_NUMBERING_H_ |
+#define V8_AST_NUMBERING_H_ |
+ |
+namespace v8 { |
+namespace internal { |
+ |
+class CompilationInfo; |
+ |
+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.
|
+ public: |
+ // 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.
|
+ // tree. |
+ // |
+ // Mutates the AST, so the AST should not continue to be used in the case of |
+ // failure. |
Sven Panne
2014/10/15 07:41:56
Actually, this is not true: We just failed to set
|
+ static bool Renumber(FunctionLiteral* function, Zone* zone); |
+}; |
+} |
+} // namespace v8::internal |
+ |
+#endif // V8_AST_NUMBERING_H_ |