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

Side by Side Diff: src/types.cc

Issue 1480873003: Introduce instance type for transition arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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
« src/transitions.cc ('K') | « src/transitions-inl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <iomanip> 5 #include <iomanip>
6 6
7 #include "src/types.h" 7 #include "src/types.h"
8 8
9 #include "src/ostreams.h" 9 #include "src/ostreams.h"
10 #include "src/types-inl.h" 10 #include "src/types-inl.h"
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 return kDetectable & kTaggedPointer; 268 return kDetectable & kTaggedPointer;
269 case ALLOCATION_SITE_TYPE: 269 case ALLOCATION_SITE_TYPE:
270 case DECLARED_ACCESSOR_INFO_TYPE: 270 case DECLARED_ACCESSOR_INFO_TYPE:
271 case EXECUTABLE_ACCESSOR_INFO_TYPE: 271 case EXECUTABLE_ACCESSOR_INFO_TYPE:
272 case SHARED_FUNCTION_INFO_TYPE: 272 case SHARED_FUNCTION_INFO_TYPE:
273 case ACCESSOR_PAIR_TYPE: 273 case ACCESSOR_PAIR_TYPE:
274 case FIXED_ARRAY_TYPE: 274 case FIXED_ARRAY_TYPE:
275 case FIXED_DOUBLE_ARRAY_TYPE: 275 case FIXED_DOUBLE_ARRAY_TYPE:
276 case BYTE_ARRAY_TYPE: 276 case BYTE_ARRAY_TYPE:
277 case BYTECODE_ARRAY_TYPE: 277 case BYTECODE_ARRAY_TYPE:
278 case TRANSITION_ARRAY_TYPE:
278 case FOREIGN_TYPE: 279 case FOREIGN_TYPE:
279 case SCRIPT_TYPE: 280 case SCRIPT_TYPE:
280 case CODE_TYPE: 281 case CODE_TYPE:
281 case PROPERTY_CELL_TYPE: 282 case PROPERTY_CELL_TYPE:
282 return kInternal & kTaggedPointer; 283 return kInternal & kTaggedPointer;
283 284
284 // Remaining instance types are unsupported for now. If any of them do 285 // Remaining instance types are unsupported for now. If any of them do
285 // require bit set types, they should get kInternal & kTaggedPointer. 286 // require bit set types, they should get kInternal & kTaggedPointer.
286 case MUTABLE_HEAP_NUMBER_TYPE: 287 case MUTABLE_HEAP_NUMBER_TYPE:
287 case FREE_SPACE_TYPE: 288 case FREE_SPACE_TYPE:
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1396 1397
1397 template TypeImpl<ZoneTypeConfig>::TypeHandle 1398 template TypeImpl<ZoneTypeConfig>::TypeHandle
1398 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( 1399 TypeImpl<ZoneTypeConfig>::Convert<HeapType>(
1399 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); 1400 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*);
1400 template TypeImpl<HeapTypeConfig>::TypeHandle 1401 template TypeImpl<HeapTypeConfig>::TypeHandle
1401 TypeImpl<HeapTypeConfig>::Convert<Type>( 1402 TypeImpl<HeapTypeConfig>::Convert<Type>(
1402 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); 1403 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*);
1403 1404
1404 } // namespace internal 1405 } // namespace internal
1405 } // namespace v8 1406 } // namespace v8
OLDNEW
« src/transitions.cc ('K') | « src/transitions-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698