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

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

Issue 7862036: Share Maps for ElementsKind transitions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback Created 9 years, 3 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
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 break; 249 break;
250 } 250 }
251 case CONSTANT_FUNCTION: 251 case CONSTANT_FUNCTION:
252 descs->GetConstantFunction(i)->ShortPrint(out); 252 descs->GetConstantFunction(i)->ShortPrint(out);
253 PrintF(out, " (constant function)\n"); 253 PrintF(out, " (constant function)\n");
254 break; 254 break;
255 case CALLBACKS: 255 case CALLBACKS:
256 descs->GetCallbacksObject(i)->ShortPrint(out); 256 descs->GetCallbacksObject(i)->ShortPrint(out);
257 PrintF(out, " (callback)\n"); 257 PrintF(out, " (callback)\n");
258 break; 258 break;
259 case ELEMENTS_TRANSITION:
260 PrintF(out, " (elements transition)\n");
261 break;
259 case MAP_TRANSITION: 262 case MAP_TRANSITION:
260 PrintF(out, " (map transition)\n"); 263 PrintF(out, " (map transition)\n");
261 break; 264 break;
262 case CONSTANT_TRANSITION: 265 case CONSTANT_TRANSITION:
263 PrintF(out, " (constant transition)\n"); 266 PrintF(out, " (constant transition)\n");
264 break; 267 break;
265 case NULL_DESCRIPTOR: 268 case NULL_DESCRIPTOR:
266 PrintF(out, " (null descriptor)\n"); 269 PrintF(out, " (null descriptor)\n");
267 break; 270 break;
268 default: 271 default:
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 desc.Print(out); 894 desc.Print(out);
892 } 895 }
893 PrintF(out, "\n"); 896 PrintF(out, "\n");
894 } 897 }
895 898
896 899
897 #endif // OBJECT_PRINT 900 #endif // OBJECT_PRINT
898 901
899 902
900 } } // namespace v8::internal 903 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698