Index: src/type-feedback-vector.h |
diff --git a/src/type-feedback-vector.h b/src/type-feedback-vector.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..883a9c176aa3c7142710498834b280d42b8bc758 |
--- /dev/null |
+++ b/src/type-feedback-vector.h |
@@ -0,0 +1,34 @@ |
+// 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_TYPE_FEEDBACK_VECTOR_H_ |
+#define V8_TYPE_FEEDBACK_VECTOR_H_ |
+ |
+#include "src/checks.h" |
+#include "src/elements-kind.h" |
+#include "src/heap/heap.h" |
+#include "src/isolate.h" |
+#include "src/objects.h" |
+ |
+namespace v8 { |
+namespace internal { |
+ |
+class TypeFeedbackVector : public FixedArray { |
+ public: |
+ // Casting. |
+ static TypeFeedbackVector* cast(Object* obj) { |
+ DCHECK(obj->IsTypeFeedbackVector()); |
+ return reinterpret_cast<TypeFeedbackVector*>(obj); |
+ } |
+ |
+ static Handle<TypeFeedbackVector> Copy(Isolate* isolate, |
+ Handle<TypeFeedbackVector> vector); |
+ |
+ private: |
+ DISALLOW_IMPLICIT_CONSTRUCTORS(TypeFeedbackVector); |
+}; |
+} |
+} // namespace v8::internal |
+ |
+#endif // V8_TRANSITIONS_H_ |