Index: src/type-feedback-vector.h |
diff --git a/src/type-feedback-vector.h b/src/type-feedback-vector.h |
index a6f72210fc9f2545d77ea92e885a6f801071fadd..2a6e4f3654af41855d5fd5e01d17b0c39a3033de 100644 |
--- a/src/type-feedback-vector.h |
+++ b/src/type-feedback-vector.h |
@@ -192,6 +192,13 @@ class TypeFeedbackVector : public FixedArray { |
static Handle<TypeFeedbackVector> Copy(Isolate* isolate, |
Handle<TypeFeedbackVector> vector); |
+#ifdef OBJECT_PRINT |
+ // For gdb debugging. |
+ void Print(); |
+#endif // OBJECT_PRINT |
+ |
+ DECLARE_PRINTER(TypeFeedbackVector) |
+ |
// Clears the vector slots and the vector ic slots. |
void ClearSlots(SharedFunctionInfo* shared) { ClearSlotsImpl(shared, true); } |
void ClearSlotsAtGCTime(SharedFunctionInfo* shared) { |