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

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

Issue 385004: Remove sliced string string type... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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.cc ('k') | src/objects-inl.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 switch (type) { 546 switch (type) {
547 case INVALID_TYPE: return "INVALID"; 547 case INVALID_TYPE: return "INVALID";
548 case MAP_TYPE: return "MAP"; 548 case MAP_TYPE: return "MAP";
549 case HEAP_NUMBER_TYPE: return "HEAP_NUMBER"; 549 case HEAP_NUMBER_TYPE: return "HEAP_NUMBER";
550 case SHORT_SYMBOL_TYPE: 550 case SHORT_SYMBOL_TYPE:
551 case MEDIUM_SYMBOL_TYPE: 551 case MEDIUM_SYMBOL_TYPE:
552 case LONG_SYMBOL_TYPE: return "SYMBOL"; 552 case LONG_SYMBOL_TYPE: return "SYMBOL";
553 case SHORT_ASCII_SYMBOL_TYPE: 553 case SHORT_ASCII_SYMBOL_TYPE:
554 case MEDIUM_ASCII_SYMBOL_TYPE: 554 case MEDIUM_ASCII_SYMBOL_TYPE:
555 case LONG_ASCII_SYMBOL_TYPE: return "ASCII_SYMBOL"; 555 case LONG_ASCII_SYMBOL_TYPE: return "ASCII_SYMBOL";
556 case SHORT_SLICED_SYMBOL_TYPE:
557 case MEDIUM_SLICED_SYMBOL_TYPE:
558 case LONG_SLICED_SYMBOL_TYPE: return "SLICED_SYMBOL";
559 case SHORT_SLICED_ASCII_SYMBOL_TYPE:
560 case MEDIUM_SLICED_ASCII_SYMBOL_TYPE:
561 case LONG_SLICED_ASCII_SYMBOL_TYPE: return "SLICED_ASCII_SYMBOL";
562 case SHORT_CONS_SYMBOL_TYPE: 556 case SHORT_CONS_SYMBOL_TYPE:
563 case MEDIUM_CONS_SYMBOL_TYPE: 557 case MEDIUM_CONS_SYMBOL_TYPE:
564 case LONG_CONS_SYMBOL_TYPE: return "CONS_SYMBOL"; 558 case LONG_CONS_SYMBOL_TYPE: return "CONS_SYMBOL";
565 case SHORT_CONS_ASCII_SYMBOL_TYPE: 559 case SHORT_CONS_ASCII_SYMBOL_TYPE:
566 case MEDIUM_CONS_ASCII_SYMBOL_TYPE: 560 case MEDIUM_CONS_ASCII_SYMBOL_TYPE:
567 case LONG_CONS_ASCII_SYMBOL_TYPE: return "CONS_ASCII_SYMBOL"; 561 case LONG_CONS_ASCII_SYMBOL_TYPE: return "CONS_ASCII_SYMBOL";
568 case SHORT_EXTERNAL_ASCII_SYMBOL_TYPE: 562 case SHORT_EXTERNAL_ASCII_SYMBOL_TYPE:
569 case MEDIUM_EXTERNAL_ASCII_SYMBOL_TYPE: 563 case MEDIUM_EXTERNAL_ASCII_SYMBOL_TYPE:
570 case LONG_EXTERNAL_ASCII_SYMBOL_TYPE: 564 case LONG_EXTERNAL_ASCII_SYMBOL_TYPE:
571 case SHORT_EXTERNAL_SYMBOL_TYPE: 565 case SHORT_EXTERNAL_SYMBOL_TYPE:
572 case MEDIUM_EXTERNAL_SYMBOL_TYPE: 566 case MEDIUM_EXTERNAL_SYMBOL_TYPE:
573 case LONG_EXTERNAL_SYMBOL_TYPE: return "EXTERNAL_SYMBOL"; 567 case LONG_EXTERNAL_SYMBOL_TYPE: return "EXTERNAL_SYMBOL";
574 case SHORT_ASCII_STRING_TYPE: 568 case SHORT_ASCII_STRING_TYPE:
575 case MEDIUM_ASCII_STRING_TYPE: 569 case MEDIUM_ASCII_STRING_TYPE:
576 case LONG_ASCII_STRING_TYPE: return "ASCII_STRING"; 570 case LONG_ASCII_STRING_TYPE: return "ASCII_STRING";
577 case SHORT_STRING_TYPE: 571 case SHORT_STRING_TYPE:
578 case MEDIUM_STRING_TYPE: 572 case MEDIUM_STRING_TYPE:
579 case LONG_STRING_TYPE: return "TWO_BYTE_STRING"; 573 case LONG_STRING_TYPE: return "TWO_BYTE_STRING";
580 case SHORT_CONS_STRING_TYPE: 574 case SHORT_CONS_STRING_TYPE:
581 case MEDIUM_CONS_STRING_TYPE: 575 case MEDIUM_CONS_STRING_TYPE:
582 case LONG_CONS_STRING_TYPE: 576 case LONG_CONS_STRING_TYPE:
583 case SHORT_CONS_ASCII_STRING_TYPE: 577 case SHORT_CONS_ASCII_STRING_TYPE:
584 case MEDIUM_CONS_ASCII_STRING_TYPE: 578 case MEDIUM_CONS_ASCII_STRING_TYPE:
585 case LONG_CONS_ASCII_STRING_TYPE: return "CONS_STRING"; 579 case LONG_CONS_ASCII_STRING_TYPE: return "CONS_STRING";
586 case SHORT_SLICED_STRING_TYPE:
587 case MEDIUM_SLICED_STRING_TYPE:
588 case LONG_SLICED_STRING_TYPE:
589 case SHORT_SLICED_ASCII_STRING_TYPE:
590 case MEDIUM_SLICED_ASCII_STRING_TYPE:
591 case LONG_SLICED_ASCII_STRING_TYPE: return "SLICED_STRING";
592 case SHORT_EXTERNAL_ASCII_STRING_TYPE: 580 case SHORT_EXTERNAL_ASCII_STRING_TYPE:
593 case MEDIUM_EXTERNAL_ASCII_STRING_TYPE: 581 case MEDIUM_EXTERNAL_ASCII_STRING_TYPE:
594 case LONG_EXTERNAL_ASCII_STRING_TYPE: 582 case LONG_EXTERNAL_ASCII_STRING_TYPE:
595 case SHORT_EXTERNAL_STRING_TYPE: 583 case SHORT_EXTERNAL_STRING_TYPE:
596 case MEDIUM_EXTERNAL_STRING_TYPE: 584 case MEDIUM_EXTERNAL_STRING_TYPE:
597 case LONG_EXTERNAL_STRING_TYPE: return "EXTERNAL_STRING"; 585 case LONG_EXTERNAL_STRING_TYPE: return "EXTERNAL_STRING";
598 case FIXED_ARRAY_TYPE: return "FIXED_ARRAY"; 586 case FIXED_ARRAY_TYPE: return "FIXED_ARRAY";
599 case BYTE_ARRAY_TYPE: return "BYTE_ARRAY"; 587 case BYTE_ARRAY_TYPE: return "BYTE_ARRAY";
600 case PIXEL_ARRAY_TYPE: return "PIXEL_ARRAY"; 588 case PIXEL_ARRAY_TYPE: return "PIXEL_ARRAY";
601 case EXTERNAL_BYTE_ARRAY_TYPE: return "EXTERNAL_BYTE_ARRAY"; 589 case EXTERNAL_BYTE_ARRAY_TYPE: return "EXTERNAL_BYTE_ARRAY";
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 } 1321 }
1334 current = hash; 1322 current = hash;
1335 } 1323 }
1336 return true; 1324 return true;
1337 } 1325 }
1338 1326
1339 1327
1340 #endif // DEBUG 1328 #endif // DEBUG
1341 1329
1342 } } // namespace v8::internal 1330 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698