Reviewers: ,

Message:
Mads,

tiny CL for you, please.

Description:
Add class name into FunctionTemplateInfo debug printing.

Please review this at http://codereview.chromium.org/608015

Affected files:
  M src/objects-debug.cc


Index: src/objects-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index 7e77e8164342de142ee0e5a9c6dd2b9d626e2641..9415bc1a1ccb5ce52cd36c778df69dadc64bf970 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -1036,6 +1036,8 @@ void FunctionTemplateInfo::FunctionTemplateInfoVerify() {

 void FunctionTemplateInfo::FunctionTemplateInfoPrint() {
   HeapObject::PrintHeader("FunctionTemplateInfo");
+  PrintF("\n - class name: ");
+  class_name()->ShortPrint();
   PrintF("\n - tag: ");
   tag()->ShortPrint();
   PrintF("\n - property_list: ");


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to