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

Side by Side Diff: src/types.cc

Issue 218993011: Remove internalized cons string types. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 case SLICED_STRING_TYPE: 183 case SLICED_STRING_TYPE:
184 case SLICED_ASCII_STRING_TYPE: 184 case SLICED_ASCII_STRING_TYPE:
185 case EXTERNAL_STRING_TYPE: 185 case EXTERNAL_STRING_TYPE:
186 case EXTERNAL_ASCII_STRING_TYPE: 186 case EXTERNAL_ASCII_STRING_TYPE:
187 case EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE: 187 case EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE:
188 case SHORT_EXTERNAL_STRING_TYPE: 188 case SHORT_EXTERNAL_STRING_TYPE:
189 case SHORT_EXTERNAL_ASCII_STRING_TYPE: 189 case SHORT_EXTERNAL_ASCII_STRING_TYPE:
190 case SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE: 190 case SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE:
191 case INTERNALIZED_STRING_TYPE: 191 case INTERNALIZED_STRING_TYPE:
192 case ASCII_INTERNALIZED_STRING_TYPE: 192 case ASCII_INTERNALIZED_STRING_TYPE:
193 case CONS_INTERNALIZED_STRING_TYPE:
194 case CONS_ASCII_INTERNALIZED_STRING_TYPE:
195 case EXTERNAL_INTERNALIZED_STRING_TYPE: 193 case EXTERNAL_INTERNALIZED_STRING_TYPE:
196 case EXTERNAL_ASCII_INTERNALIZED_STRING_TYPE: 194 case EXTERNAL_ASCII_INTERNALIZED_STRING_TYPE:
197 case EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE: 195 case EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE:
198 case SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE: 196 case SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE:
199 case SHORT_EXTERNAL_ASCII_INTERNALIZED_STRING_TYPE: 197 case SHORT_EXTERNAL_ASCII_INTERNALIZED_STRING_TYPE:
200 case SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE: 198 case SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE:
201 return kString; 199 return kString;
202 case SYMBOL_TYPE: 200 case SYMBOL_TYPE:
203 return kSymbol; 201 return kSymbol;
204 case ODDBALL_TYPE: 202 case ODDBALL_TYPE:
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 683
686 template TypeImpl<ZoneTypeConfig>::TypeHandle 684 template TypeImpl<ZoneTypeConfig>::TypeHandle
687 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( 685 TypeImpl<ZoneTypeConfig>::Convert<HeapType>(
688 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); 686 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*);
689 template TypeImpl<HeapTypeConfig>::TypeHandle 687 template TypeImpl<HeapTypeConfig>::TypeHandle
690 TypeImpl<HeapTypeConfig>::Convert<Type>( 688 TypeImpl<HeapTypeConfig>::Convert<Type>(
691 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); 689 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*);
692 690
693 691
694 } } // namespace v8::internal 692 } } // namespace v8::internal
OLDNEW
« src/objects.cc ('K') | « src/objects.cc ('k') | test/mjsunit/regress/regress-357103.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698