OLD | NEW |
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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 } | 456 } |
457 return "UNKNOWN"; | 457 return "UNKNOWN"; |
458 } | 458 } |
459 | 459 |
460 | 460 |
461 void Map::MapPrint() { | 461 void Map::MapPrint() { |
462 HeapObject::PrintHeader("Map"); | 462 HeapObject::PrintHeader("Map"); |
463 PrintF(" - type: %s\n", TypeToString(instance_type())); | 463 PrintF(" - type: %s\n", TypeToString(instance_type())); |
464 PrintF(" - instance size: %d\n", instance_size()); | 464 PrintF(" - instance size: %d\n", instance_size()); |
465 PrintF(" - inobject properties: %d\n", inobject_properties()); | 465 PrintF(" - inobject properties: %d\n", inobject_properties()); |
| 466 PrintF(" - pre-allocated property fields: %d\n", |
| 467 pre_allocated_property_fields()); |
466 PrintF(" - unused property fields: %d\n", unused_property_fields()); | 468 PrintF(" - unused property fields: %d\n", unused_property_fields()); |
467 if (is_hidden_prototype()) { | 469 if (is_hidden_prototype()) { |
468 PrintF(" - hidden_prototype\n"); | 470 PrintF(" - hidden_prototype\n"); |
469 } | 471 } |
470 if (has_named_interceptor()) { | 472 if (has_named_interceptor()) { |
471 PrintF(" - named_interceptor\n"); | 473 PrintF(" - named_interceptor\n"); |
472 } | 474 } |
473 if (has_indexed_interceptor()) { | 475 if (has_indexed_interceptor()) { |
474 PrintF(" - indexed_interceptor\n"); | 476 PrintF(" - indexed_interceptor\n"); |
475 } | 477 } |
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1154 } | 1156 } |
1155 current = hash; | 1157 current = hash; |
1156 } | 1158 } |
1157 return true; | 1159 return true; |
1158 } | 1160 } |
1159 | 1161 |
1160 | 1162 |
1161 #endif // DEBUG | 1163 #endif // DEBUG |
1162 | 1164 |
1163 } } // namespace v8::internal | 1165 } } // namespace v8::internal |
OLD | NEW |