| Index: src/objects-debug.cc
|
| ===================================================================
|
| --- src/objects-debug.cc (revision 1255)
|
| +++ src/objects-debug.cc (working copy)
|
| @@ -552,11 +552,11 @@
|
| PrintF(" - name: ");
|
| name()->ShortPrint();
|
| PrintF("\n - expected_nof_properties: %d", expected_nof_properties());
|
| - PrintF("\n - instance class name =");
|
| + PrintF("\n - instance class name = ");
|
| instance_class_name()->Print();
|
| - PrintF("\n - code =");
|
| + PrintF("\n - code = ");
|
| code()->ShortPrint();
|
| - PrintF("\n - source code =");
|
| + PrintF("\n - source code = ");
|
| GetSourceCode()->ShortPrint();
|
| PrintF("\n - lazy load: %s",
|
| lazy_load_data() == Heap::undefined_value() ? "no" : "yes");
|
| @@ -568,7 +568,7 @@
|
| PrintF("\n - end position = %d", end_position());
|
| PrintF("\n - is expression = %d", is_expression());
|
| PrintF("\n - debug info = ");
|
| - debug_info()->Print();
|
| + debug_info()->ShortPrint();
|
| PrintF("\n - length = %d", length());
|
| PrintF("\n");
|
| }
|
| @@ -752,7 +752,7 @@
|
| }
|
|
|
| void AccessorInfo::AccessorInfoPrint() {
|
| - PrintF("AccessorInfo");
|
| + HeapObject::PrintHeader("AccessorInfo");
|
| PrintF("\n - getter: ");
|
| getter()->ShortPrint();
|
| PrintF("\n - setter: ");
|
| @@ -773,7 +773,7 @@
|
| }
|
|
|
| void AccessCheckInfo::AccessCheckInfoPrint() {
|
| - PrintF("AccessCheckInfo");
|
| + HeapObject::PrintHeader("AccessCheckInfo");
|
| PrintF("\n - named_callback: ");
|
| named_callback()->ShortPrint();
|
| PrintF("\n - indexed_callback: ");
|
| @@ -793,7 +793,7 @@
|
| }
|
|
|
| void InterceptorInfo::InterceptorInfoPrint() {
|
| - PrintF("InterceptorInfo");
|
| + HeapObject::PrintHeader("InterceptorInfo");
|
| PrintF("\n - getter: ");
|
| getter()->ShortPrint();
|
| PrintF("\n - setter: ");
|
| @@ -815,7 +815,7 @@
|
| }
|
|
|
| void CallHandlerInfo::CallHandlerInfoPrint() {
|
| - PrintF("CallHandlerInfo");
|
| + HeapObject::PrintHeader("CallHandlerInfo");
|
| PrintF("\n - callback: ");
|
| callback()->ShortPrint();
|
| PrintF("\n - data: ");
|
| @@ -843,7 +843,7 @@
|
| }
|
|
|
| void FunctionTemplateInfo::FunctionTemplateInfoPrint() {
|
| - PrintF("FunctionTemplateInfo");
|
| + HeapObject::PrintHeader("FunctionTemplateInfo");
|
| PrintF("\n - tag: ");
|
| tag()->ShortPrint();
|
| PrintF("\n - property_list: ");
|
| @@ -881,7 +881,7 @@
|
| }
|
|
|
| void ObjectTemplateInfo::ObjectTemplateInfoPrint() {
|
| - PrintF("ObjectTemplateInfo");
|
| + HeapObject::PrintHeader("ObjectTemplateInfo");
|
| PrintF("\n - constructor: ");
|
| constructor()->ShortPrint();
|
| PrintF("\n - internal_field_count: ");
|
| @@ -895,7 +895,7 @@
|
| }
|
|
|
| void SignatureInfo::SignatureInfoPrint() {
|
| - PrintF("SignatureInfo");
|
| + HeapObject::PrintHeader("SignatureInfo");
|
| PrintF("\n - receiver: ");
|
| receiver()->ShortPrint();
|
| PrintF("\n - args: ");
|
| @@ -908,7 +908,7 @@
|
| }
|
|
|
| void TypeSwitchInfo::TypeSwitchInfoPrint() {
|
| - PrintF("TypeSwitchInfo");
|
| + HeapObject::PrintHeader("TypeSwitchInfo");
|
| PrintF("\n - types: ");
|
| types()->ShortPrint();
|
| }
|
| @@ -950,15 +950,15 @@
|
|
|
|
|
| void DebugInfo::DebugInfoPrint() {
|
| - PrintF("DebugInfo");
|
| - PrintF("\n - shared");
|
| + HeapObject::PrintHeader("DebugInfo");
|
| + PrintF("\n - shared: ");
|
| shared()->ShortPrint();
|
| - PrintF("\n - original_code");
|
| + PrintF("\n - original_code: ");
|
| original_code()->ShortPrint();
|
| - PrintF("\n - code");
|
| + PrintF("\n - code: ");
|
| code()->ShortPrint();
|
| - PrintF("\n - break_points");
|
| - break_points()->ShortPrint();
|
| + PrintF("\n - break_points: ");
|
| + break_points()->Print();
|
| }
|
|
|
|
|
| @@ -972,11 +972,11 @@
|
|
|
|
|
| void BreakPointInfo::BreakPointInfoPrint() {
|
| - PrintF("BreakPointInfo");
|
| - PrintF("\n - code_position %d", code_position());
|
| - PrintF("\n - source_position %d", source_position());
|
| - PrintF("\n - statement_position %d", statement_position());
|
| - PrintF("\n - break_point_objects ");
|
| + HeapObject::PrintHeader("BreakPointInfo");
|
| + PrintF("\n - code_position: %d", code_position());
|
| + PrintF("\n - source_position: %d", source_position());
|
| + PrintF("\n - statement_position: %d", statement_position());
|
| + PrintF("\n - break_point_objects: ");
|
| break_point_objects()->ShortPrint();
|
| }
|
|
|
|
|