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

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

Issue 8568013: Introduce read buffer for external strings when using charAt (ia32). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: . 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
« no previous file with comments | « src/objects-inl.h ('k') | src/objects-visiting.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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 ASCII_STRING_TYPE: return "ASCII_STRING"; 449 case ASCII_STRING_TYPE: return "ASCII_STRING";
450 case STRING_TYPE: return "TWO_BYTE_STRING"; 450 case STRING_TYPE: return "TWO_BYTE_STRING";
451 case CONS_STRING_TYPE: 451 case CONS_STRING_TYPE:
452 case CONS_ASCII_STRING_TYPE: return "CONS_STRING"; 452 case CONS_ASCII_STRING_TYPE: return "CONS_STRING";
453 case SLICED_STRING_TYPE:
454 case SLICED_ASCII_STRING_TYPE: return "SLICED_STRING";
453 case EXTERNAL_ASCII_STRING_TYPE: 455 case EXTERNAL_ASCII_STRING_TYPE:
454 case EXTERNAL_STRING_WITH_ASCII_DATA_TYPE: 456 case EXTERNAL_STRING_WITH_ASCII_DATA_TYPE:
455 case EXTERNAL_STRING_TYPE: return "EXTERNAL_STRING"; 457 case EXTERNAL_STRING_TYPE: return "EXTERNAL_STRING";
458 case EXTERNAL_BUFFERED_ASCII_STRING_TYPE:
459 case EXTERNAL_BUFFERED_STRING_WITH_ASCII_DATA_TYPE:
460 case EXTERNAL_BUFFERED_STRING_TYPE: return "BUFFERED_EXTERNAL_STRING";
456 case FIXED_ARRAY_TYPE: return "FIXED_ARRAY"; 461 case FIXED_ARRAY_TYPE: return "FIXED_ARRAY";
457 case BYTE_ARRAY_TYPE: return "BYTE_ARRAY"; 462 case BYTE_ARRAY_TYPE: return "BYTE_ARRAY";
458 case FREE_SPACE_TYPE: return "FREE_SPACE"; 463 case FREE_SPACE_TYPE: return "FREE_SPACE";
459 case EXTERNAL_PIXEL_ARRAY_TYPE: return "EXTERNAL_PIXEL_ARRAY"; 464 case EXTERNAL_PIXEL_ARRAY_TYPE: return "EXTERNAL_PIXEL_ARRAY";
460 case EXTERNAL_BYTE_ARRAY_TYPE: return "EXTERNAL_BYTE_ARRAY"; 465 case EXTERNAL_BYTE_ARRAY_TYPE: return "EXTERNAL_BYTE_ARRAY";
461 case EXTERNAL_UNSIGNED_BYTE_ARRAY_TYPE: 466 case EXTERNAL_UNSIGNED_BYTE_ARRAY_TYPE:
462 return "EXTERNAL_UNSIGNED_BYTE_ARRAY"; 467 return "EXTERNAL_UNSIGNED_BYTE_ARRAY";
463 case EXTERNAL_SHORT_ARRAY_TYPE: return "EXTERNAL_SHORT_ARRAY"; 468 case EXTERNAL_SHORT_ARRAY_TYPE: return "EXTERNAL_SHORT_ARRAY";
464 case EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE: 469 case EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE:
465 return "EXTERNAL_UNSIGNED_SHORT_ARRAY"; 470 return "EXTERNAL_UNSIGNED_SHORT_ARRAY";
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
950 desc.Print(out); 955 desc.Print(out);
951 } 956 }
952 PrintF(out, "\n"); 957 PrintF(out, "\n");
953 } 958 }
954 959
955 960
956 #endif // OBJECT_PRINT 961 #endif // OBJECT_PRINT
957 962
958 963
959 } } // namespace v8::internal 964 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/objects-visiting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698