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

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

Issue 8677006: Recommit introducing short external strings. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixing webkit failures. Created 9 years, 1 month 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 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 case INVALID_TYPE: return "INVALID"; 439 case INVALID_TYPE: return "INVALID";
440 case MAP_TYPE: return "MAP"; 440 case MAP_TYPE: return "MAP";
441 case HEAP_NUMBER_TYPE: return "HEAP_NUMBER"; 441 case HEAP_NUMBER_TYPE: return "HEAP_NUMBER";
442 case SYMBOL_TYPE: return "SYMBOL"; 442 case SYMBOL_TYPE: return "SYMBOL";
443 case ASCII_SYMBOL_TYPE: return "ASCII_SYMBOL"; 443 case ASCII_SYMBOL_TYPE: return "ASCII_SYMBOL";
444 case CONS_SYMBOL_TYPE: return "CONS_SYMBOL"; 444 case CONS_SYMBOL_TYPE: return "CONS_SYMBOL";
445 case CONS_ASCII_SYMBOL_TYPE: return "CONS_ASCII_SYMBOL"; 445 case CONS_ASCII_SYMBOL_TYPE: return "CONS_ASCII_SYMBOL";
446 case EXTERNAL_ASCII_SYMBOL_TYPE: 446 case EXTERNAL_ASCII_SYMBOL_TYPE:
447 case EXTERNAL_SYMBOL_WITH_ASCII_DATA_TYPE: 447 case EXTERNAL_SYMBOL_WITH_ASCII_DATA_TYPE:
448 case EXTERNAL_SYMBOL_TYPE: return "EXTERNAL_SYMBOL"; 448 case EXTERNAL_SYMBOL_TYPE: return "EXTERNAL_SYMBOL";
449 case SHORT_EXTERNAL_ASCII_SYMBOL_TYPE:
450 case SHORT_EXTERNAL_SYMBOL_WITH_ASCII_DATA_TYPE:
451 case SHORT_EXTERNAL_SYMBOL_TYPE: return "SHORT_EXTERNAL_SYMBOL";
449 case ASCII_STRING_TYPE: return "ASCII_STRING"; 452 case ASCII_STRING_TYPE: return "ASCII_STRING";
450 case STRING_TYPE: return "TWO_BYTE_STRING"; 453 case STRING_TYPE: return "TWO_BYTE_STRING";
451 case CONS_STRING_TYPE: 454 case CONS_STRING_TYPE:
452 case CONS_ASCII_STRING_TYPE: return "CONS_STRING"; 455 case CONS_ASCII_STRING_TYPE: return "CONS_STRING";
453 case EXTERNAL_ASCII_STRING_TYPE: 456 case EXTERNAL_ASCII_STRING_TYPE:
454 case EXTERNAL_STRING_WITH_ASCII_DATA_TYPE: 457 case EXTERNAL_STRING_WITH_ASCII_DATA_TYPE:
455 case EXTERNAL_STRING_TYPE: return "EXTERNAL_STRING"; 458 case EXTERNAL_STRING_TYPE: return "EXTERNAL_STRING";
459 case SHORT_EXTERNAL_ASCII_STRING_TYPE:
460 case SHORT_EXTERNAL_STRING_WITH_ASCII_DATA_TYPE:
461 case SHORT_EXTERNAL_STRING_TYPE: return "SHORT_EXTERNAL_STRING";
456 case FIXED_ARRAY_TYPE: return "FIXED_ARRAY"; 462 case FIXED_ARRAY_TYPE: return "FIXED_ARRAY";
457 case BYTE_ARRAY_TYPE: return "BYTE_ARRAY"; 463 case BYTE_ARRAY_TYPE: return "BYTE_ARRAY";
458 case FREE_SPACE_TYPE: return "FREE_SPACE"; 464 case FREE_SPACE_TYPE: return "FREE_SPACE";
459 case EXTERNAL_PIXEL_ARRAY_TYPE: return "EXTERNAL_PIXEL_ARRAY"; 465 case EXTERNAL_PIXEL_ARRAY_TYPE: return "EXTERNAL_PIXEL_ARRAY";
460 case EXTERNAL_BYTE_ARRAY_TYPE: return "EXTERNAL_BYTE_ARRAY"; 466 case EXTERNAL_BYTE_ARRAY_TYPE: return "EXTERNAL_BYTE_ARRAY";
461 case EXTERNAL_UNSIGNED_BYTE_ARRAY_TYPE: 467 case EXTERNAL_UNSIGNED_BYTE_ARRAY_TYPE:
462 return "EXTERNAL_UNSIGNED_BYTE_ARRAY"; 468 return "EXTERNAL_UNSIGNED_BYTE_ARRAY";
463 case EXTERNAL_SHORT_ARRAY_TYPE: return "EXTERNAL_SHORT_ARRAY"; 469 case EXTERNAL_SHORT_ARRAY_TYPE: return "EXTERNAL_SHORT_ARRAY";
464 case EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE: 470 case EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE:
465 return "EXTERNAL_UNSIGNED_SHORT_ARRAY"; 471 return "EXTERNAL_UNSIGNED_SHORT_ARRAY";
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
950 desc.Print(out); 956 desc.Print(out);
951 } 957 }
952 PrintF(out, "\n"); 958 PrintF(out, "\n");
953 } 959 }
954 960
955 961
956 #endif // OBJECT_PRINT 962 #endif // OBJECT_PRINT
957 963
958 964
959 } } // namespace v8::internal 965 } } // namespace v8::internal
OLDNEW
« src/ia32/codegen-ia32.cc ('K') | « src/objects-inl.h ('k') | src/objects-visiting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698