| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 UNREACHABLE(); | 516 UNREACHABLE(); |
| 517 return "UNKNOWN"; // Keep the compiler happy. | 517 return "UNKNOWN"; // Keep the compiler happy. |
| 518 } | 518 } |
| 519 | 519 |
| 520 | 520 |
| 521 void Symbol::SymbolPrint(FILE* out) { | 521 void Symbol::SymbolPrint(FILE* out) { |
| 522 HeapObject::PrintHeader(out, "Symbol"); | 522 HeapObject::PrintHeader(out, "Symbol"); |
| 523 PrintF(out, " - hash: %d\n", Hash()); | 523 PrintF(out, " - hash: %d\n", Hash()); |
| 524 PrintF(out, " - name: "); | 524 PrintF(out, " - name: "); |
| 525 name()->ShortPrint(); | 525 name()->ShortPrint(); |
| 526 PrintF(out, " - private: %d\n", is_private()); |
| 526 PrintF(out, "\n"); | 527 PrintF(out, "\n"); |
| 527 } | 528 } |
| 528 | 529 |
| 529 | 530 |
| 530 void Map::MapPrint(FILE* out) { | 531 void Map::MapPrint(FILE* out) { |
| 531 HeapObject::PrintHeader(out, "Map"); | 532 HeapObject::PrintHeader(out, "Map"); |
| 532 PrintF(out, " - type: %s\n", TypeToString(instance_type())); | 533 PrintF(out, " - type: %s\n", TypeToString(instance_type())); |
| 533 PrintF(out, " - instance size: %d\n", instance_size()); | 534 PrintF(out, " - instance size: %d\n", instance_size()); |
| 534 PrintF(out, " - inobject properties: %d\n", inobject_properties()); | 535 PrintF(out, " - inobject properties: %d\n", inobject_properties()); |
| 535 PrintF(out, " - elements kind: "); | 536 PrintF(out, " - elements kind: "); |
| (...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1256 } | 1257 } |
| 1257 } | 1258 } |
| 1258 PrintF(out, "\n"); | 1259 PrintF(out, "\n"); |
| 1259 } | 1260 } |
| 1260 | 1261 |
| 1261 | 1262 |
| 1262 #endif // OBJECT_PRINT | 1263 #endif // OBJECT_PRINT |
| 1263 | 1264 |
| 1264 | 1265 |
| 1265 } } // namespace v8::internal | 1266 } } // namespace v8::internal |
| OLD | NEW |