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

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

Issue 8357004: Add flag to tracing element kind transitions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: disable flags Created 9 years, 2 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.h » ('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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 void ExternalFloatArray::ExternalFloatArrayPrint(FILE* out) { 238 void ExternalFloatArray::ExternalFloatArrayPrint(FILE* out) {
239 PrintF(out, "external float array"); 239 PrintF(out, "external float array");
240 } 240 }
241 241
242 242
243 void ExternalDoubleArray::ExternalDoubleArrayPrint(FILE* out) { 243 void ExternalDoubleArray::ExternalDoubleArrayPrint(FILE* out) {
244 PrintF(out, "external double array"); 244 PrintF(out, "external double array");
245 } 245 }
246 246
247 247
248 static void PrintElementsKind(FILE* out, ElementsKind kind) { 248 void PrintElementsKind(FILE* out, ElementsKind kind) {
249 switch (kind) { 249 switch (kind) {
250 case FAST_SMI_ONLY_ELEMENTS: 250 case FAST_SMI_ONLY_ELEMENTS:
251 PrintF(out, "FAST_SMI_ONLY_ELEMENTS"); 251 PrintF(out, "FAST_SMI_ONLY_ELEMENTS");
252 break; 252 break;
253 case FAST_ELEMENTS: 253 case FAST_ELEMENTS:
254 PrintF(out, "FAST_ELEMENTS"); 254 PrintF(out, "FAST_ELEMENTS");
255 break; 255 break;
256 case FAST_DOUBLE_ELEMENTS: 256 case FAST_DOUBLE_ELEMENTS:
257 PrintF(out, "FAST_DOUBLE_ELEMENTS"); 257 PrintF(out, "FAST_DOUBLE_ELEMENTS");
258 break; 258 break;
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 desc.Print(out); 996 desc.Print(out);
997 } 997 }
998 PrintF(out, "\n"); 998 PrintF(out, "\n");
999 } 999 }
1000 1000
1001 1001
1002 #endif // OBJECT_PRINT 1002 #endif // OBJECT_PRINT
1003 1003
1004 1004
1005 } } // namespace v8::internal 1005 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698