Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/objects-debug.cc

Issue 608015: Add class name into FunctionTemplateInfo debug printing. (Closed)
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after
1029 VerifyPointer(parent_template()); 1029 VerifyPointer(parent_template());
1030 VerifyPointer(named_property_handler()); 1030 VerifyPointer(named_property_handler());
1031 VerifyPointer(indexed_property_handler()); 1031 VerifyPointer(indexed_property_handler());
1032 VerifyPointer(instance_template()); 1032 VerifyPointer(instance_template());
1033 VerifyPointer(signature()); 1033 VerifyPointer(signature());
1034 VerifyPointer(access_check_info()); 1034 VerifyPointer(access_check_info());
1035 } 1035 }
1036 1036
1037 void FunctionTemplateInfo::FunctionTemplateInfoPrint() { 1037 void FunctionTemplateInfo::FunctionTemplateInfoPrint() {
1038 HeapObject::PrintHeader("FunctionTemplateInfo"); 1038 HeapObject::PrintHeader("FunctionTemplateInfo");
1039 PrintF("\n - class name: ");
1040 class_name()->ShortPrint();
1039 PrintF("\n - tag: "); 1041 PrintF("\n - tag: ");
1040 tag()->ShortPrint(); 1042 tag()->ShortPrint();
1041 PrintF("\n - property_list: "); 1043 PrintF("\n - property_list: ");
1042 property_list()->ShortPrint(); 1044 property_list()->ShortPrint();
1043 PrintF("\n - serial_number: "); 1045 PrintF("\n - serial_number: ");
1044 serial_number()->ShortPrint(); 1046 serial_number()->ShortPrint();
1045 PrintF("\n - call_code: "); 1047 PrintF("\n - call_code: ");
1046 call_code()->ShortPrint(); 1048 call_code()->ShortPrint();
1047 PrintF("\n - property_accessors: "); 1049 PrintF("\n - property_accessors: ");
1048 property_accessors()->ShortPrint(); 1050 property_accessors()->ShortPrint();
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 } 1310 }
1309 current = hash; 1311 current = hash;
1310 } 1312 }
1311 return true; 1313 return true;
1312 } 1314 }
1313 1315
1314 1316
1315 #endif // DEBUG 1317 #endif // DEBUG
1316 1318
1317 } } // namespace v8::internal 1319 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698