Index: src/objects-printer.cc |
diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
index 595728f1bfb2516ba0364e41a3e3dca29293cb1e..998e8e13d7696ab442cbfd72cfbbe1d2f383b5c6 100644 |
--- a/src/objects-printer.cc |
+++ b/src/objects-printer.cc |
@@ -1054,7 +1054,7 @@ void JSFunction::JSFunctionPrint(std::ostream& os) { // NOLINT |
os << "\n - async"; |
} |
os << "\n - context = " << Brief(context()); |
- os << "\n - feedback vector = " << Brief(feedback_vector()); |
+ os << "\n - feedback vector cell = " << Brief(feedback_vector_cell()); |
os << "\n - code = " << Brief(code()); |
JSObjectPrintBody(os, this); |
} |
@@ -1686,6 +1686,14 @@ extern void _v8_internal_Print_Code(void* object) { |
isolate->FindCodeObject(reinterpret_cast<i::Address>(object))->Print(); |
} |
+extern void _v8_internal_Print_TypeFeedbackMetadata(void* object) { |
+ if (reinterpret_cast<i::Object*>(object)->IsSmi()) { |
+ printf("Not a type feedback metadata object\n"); |
+ } else { |
+ reinterpret_cast<i::TypeFeedbackMetadata*>(object)->Print(); |
+ } |
+} |
+ |
extern void _v8_internal_Print_TypeFeedbackVector(void* object) { |
if (reinterpret_cast<i::Object*>(object)->IsSmi()) { |
printf("Not a type feedback vector\n"); |