Add class name into FunctionTemplateInfo debug printing.

Review URL: http://codereview.chromium.org/608015

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3881 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
antonm@chromium.org 2010-02-17 07:14:43 +00:00
parent 087fedeae8
commit a48a7bf6ff

View File

@ -1036,6 +1036,8 @@ void FunctionTemplateInfo::FunctionTemplateInfoVerify() {
void FunctionTemplateInfo::FunctionTemplateInfoPrint() { void FunctionTemplateInfo::FunctionTemplateInfoPrint() {
HeapObject::PrintHeader("FunctionTemplateInfo"); HeapObject::PrintHeader("FunctionTemplateInfo");
PrintF("\n - class name: ");
class_name()->ShortPrint();
PrintF("\n - tag: "); PrintF("\n - tag: ");
tag()->ShortPrint(); tag()->ShortPrint();
PrintF("\n - property_list: "); PrintF("\n - property_list: ");