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 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1151 PrintF(out, "\n"); | 1151 PrintF(out, "\n"); |
1152 return; | 1152 return; |
1153 } | 1153 } |
1154 | 1154 |
1155 PrintF(out, "unknown transition_info"); | 1155 PrintF(out, "unknown transition_info"); |
1156 transition_info()->ShortPrint(out); | 1156 transition_info()->ShortPrint(out); |
1157 PrintF(out, "\n"); | 1157 PrintF(out, "\n"); |
1158 } | 1158 } |
1159 | 1159 |
1160 | 1160 |
1161 void AllocationSiteInfo::AllocationSiteInfoPrint(FILE* out) { | 1161 void AllocationMemento::AllocationMementoPrint(FILE* out) { |
1162 HeapObject::PrintHeader(out, "AllocationSiteInfo"); | 1162 HeapObject::PrintHeader(out, "AllocationMemento"); |
1163 PrintF(out, " - allocation site: "); | 1163 PrintF(out, " - allocation site: "); |
1164 if (IsValid()) { | 1164 if (IsValid()) { |
1165 GetAllocationSite()->Print(); | 1165 GetAllocationSite()->Print(); |
1166 } else { | 1166 } else { |
1167 PrintF(out, "<invalid>\n"); | 1167 PrintF(out, "<invalid>\n"); |
1168 } | 1168 } |
1169 } | 1169 } |
1170 | 1170 |
1171 | 1171 |
1172 void Script::ScriptPrint(FILE* out) { | 1172 void Script::ScriptPrint(FILE* out) { |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1266 } | 1266 } |
1267 } | 1267 } |
1268 PrintF(out, "\n"); | 1268 PrintF(out, "\n"); |
1269 } | 1269 } |
1270 | 1270 |
1271 | 1271 |
1272 #endif // OBJECT_PRINT | 1272 #endif // OBJECT_PRINT |
1273 | 1273 |
1274 | 1274 |
1275 } } // namespace v8::internal | 1275 } } // namespace v8::internal |
OLD | NEW |