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

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

Issue 10575032: In-place shrinking of descriptor arrays with non-live transitions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressing comments Created 8 years, 5 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
OLDNEW
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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 case CALLBACKS: 272 case CALLBACKS:
273 descs->GetCallbacksObject(i)->ShortPrint(out); 273 descs->GetCallbacksObject(i)->ShortPrint(out);
274 PrintF(out, " (callback)\n"); 274 PrintF(out, " (callback)\n");
275 break; 275 break;
276 case MAP_TRANSITION: 276 case MAP_TRANSITION:
277 PrintF(out, "(map transition)\n"); 277 PrintF(out, "(map transition)\n");
278 break; 278 break;
279 case CONSTANT_TRANSITION: 279 case CONSTANT_TRANSITION:
280 PrintF(out, "(constant transition)\n"); 280 PrintF(out, "(constant transition)\n");
281 break; 281 break;
282 case NULL_DESCRIPTOR:
283 PrintF(out, "(null descriptor)\n");
284 break;
285 case NORMAL: // only in slow mode 282 case NORMAL: // only in slow mode
286 case HANDLER: // only in lookup results, not in descriptors 283 case HANDLER: // only in lookup results, not in descriptors
287 case INTERCEPTOR: // only in lookup results, not in descriptors 284 case INTERCEPTOR: // only in lookup results, not in descriptors
285 case NONEXISTENT:
288 UNREACHABLE(); 286 UNREACHABLE();
289 break; 287 break;
290 } 288 }
291 } 289 }
292 } else { 290 } else {
293 property_dictionary()->Print(out); 291 property_dictionary()->Print(out);
294 } 292 }
295 } 293 }
296 294
297 295
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 desc.Print(out); 1019 desc.Print(out);
1022 } 1020 }
1023 PrintF(out, "\n"); 1021 PrintF(out, "\n");
1024 } 1022 }
1025 1023
1026 1024
1027 #endif // OBJECT_PRINT 1025 #endif // OBJECT_PRINT
1028 1026
1029 1027
1030 } } // namespace v8::internal 1028 } } // namespace v8::internal
OLDNEW
« src/objects.cc ('K') | « src/objects-inl.h ('k') | src/profile-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698