Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 4905c04518142ce652029d783bc8ab037007755d..bb41e56e7c60bb7d4c2510734fa81dbe71bb72d5 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -8516,6 +8516,8 @@ void Code::Disassemble(const char* name, FILE* out) { |
PrintF(out, "\n"); |
} |
PrintF(out, "\n"); |
+ // Just print if type feedback info is ever used for optimized code. |
+ ASSERT(type_feedback_info()->IsUndefined()); |
} else if (kind() == FUNCTION) { |
unsigned offset = stack_check_table_offset(); |
// If there is no stack check table, the "table start" will at or after |
@@ -8532,6 +8534,10 @@ void Code::Disassemble(const char* name, FILE* out) { |
} |
PrintF(out, "\n"); |
} |
+ if (!type_feedback_info()->IsUndefined()) { |
+ TypeFeedbackInfo::cast(type_feedback_info())->TypeFeedbackInfoPrint(out); |
+ PrintF(out, "\n"); |
+ } |
} |
PrintF("RelocInfo (size = %d)\n", relocation_size()); |