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

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

Issue 18658: Added handling of hidden prototype objects when collecting local properties f... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « src/objects.cc ('k') | src/runtime.h » ('j') | 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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 } 407 }
408 return "UNKNOWN"; 408 return "UNKNOWN";
409 } 409 }
410 410
411 411
412 void Map::MapPrint() { 412 void Map::MapPrint() {
413 HeapObject::PrintHeader("Map"); 413 HeapObject::PrintHeader("Map");
414 PrintF(" - type: %s\n", TypeToString(instance_type())); 414 PrintF(" - type: %s\n", TypeToString(instance_type()));
415 PrintF(" - instance size: %d\n", instance_size()); 415 PrintF(" - instance size: %d\n", instance_size());
416 PrintF(" - unused property fields: %d\n", unused_property_fields()); 416 PrintF(" - unused property fields: %d\n", unused_property_fields());
417 if (is_hidden_prototype()) {
418 PrintF(" - hidden_prototype\n");
419 }
420 if (has_named_interceptor()) {
421 PrintF(" - named_interceptor\n");
422 }
423 if (has_indexed_interceptor()) {
424 PrintF(" - indexed_interceptor\n");
425 }
426 if (is_undetectable()) {
427 PrintF(" - undetectable\n");
428 }
429 if (has_instance_call_handler()) {
430 PrintF(" - instance_call_handler\n");
431 }
432 if (is_access_check_needed()) {
433 PrintF(" - access_check_needed\n");
434 }
417 PrintF(" - instance descriptors: "); 435 PrintF(" - instance descriptors: ");
418 instance_descriptors()->ShortPrint(); 436 instance_descriptors()->ShortPrint();
419 PrintF("\n - prototype: "); 437 PrintF("\n - prototype: ");
420 prototype()->ShortPrint(); 438 prototype()->ShortPrint();
421 PrintF("\n - constructor: "); 439 PrintF("\n - constructor: ");
422 constructor()->ShortPrint(); 440 constructor()->ShortPrint();
423 PrintF("\n"); 441 PrintF("\n");
424 } 442 }
425 443
426 444
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 } 1081 }
1064 current = hash; 1082 current = hash;
1065 } 1083 }
1066 return true; 1084 return true;
1067 } 1085 }
1068 1086
1069 1087
1070 #endif // DEBUG 1088 #endif // DEBUG
1071 1089
1072 } } // namespace v8::internal 1090 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698