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 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
592 if (HasTransitionArray()) { | 592 if (HasTransitionArray()) { |
593 PrintF(out, "\n - transitions: "); | 593 PrintF(out, "\n - transitions: "); |
594 transitions()->ShortPrint(out); | 594 transitions()->ShortPrint(out); |
595 } | 595 } |
596 PrintF(out, "\n - prototype: "); | 596 PrintF(out, "\n - prototype: "); |
597 prototype()->ShortPrint(out); | 597 prototype()->ShortPrint(out); |
598 PrintF(out, "\n - constructor: "); | 598 PrintF(out, "\n - constructor: "); |
599 constructor()->ShortPrint(out); | 599 constructor()->ShortPrint(out); |
600 PrintF(out, "\n - code cache: "); | 600 PrintF(out, "\n - code cache: "); |
601 code_cache()->ShortPrint(out); | 601 code_cache()->ShortPrint(out); |
| 602 PrintF(out, "\n - dependent code: "); |
| 603 dependent_code()->ShortPrint(out); |
602 PrintF(out, "\n"); | 604 PrintF(out, "\n"); |
603 } | 605 } |
604 | 606 |
605 | 607 |
606 void CodeCache::CodeCachePrint(FILE* out) { | 608 void CodeCache::CodeCachePrint(FILE* out) { |
607 HeapObject::PrintHeader(out, "CodeCache"); | 609 HeapObject::PrintHeader(out, "CodeCache"); |
608 PrintF(out, "\n - default_cache: "); | 610 PrintF(out, "\n - default_cache: "); |
609 default_cache()->ShortPrint(out); | 611 default_cache()->ShortPrint(out); |
610 PrintF(out, "\n - normal_type_cache: "); | 612 PrintF(out, "\n - normal_type_cache: "); |
611 normal_type_cache()->ShortPrint(out); | 613 normal_type_cache()->ShortPrint(out); |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1168 } | 1170 } |
1169 } | 1171 } |
1170 PrintF(out, "\n"); | 1172 PrintF(out, "\n"); |
1171 } | 1173 } |
1172 | 1174 |
1173 | 1175 |
1174 #endif // OBJECT_PRINT | 1176 #endif // OBJECT_PRINT |
1175 | 1177 |
1176 | 1178 |
1177 } } // namespace v8::internal | 1179 } } // namespace v8::internal |
OLD | NEW |