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

Side by Side Diff: src/types.cc

Issue 1217943004: Vector ICs: Introduce an InstanceType for the type feedback vector. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix for failing test. Created 5 years, 5 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
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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 // because it means that the template isn't actually parametric. 265 // because it means that the template isn't actually parametric.
266 // Also, it doesn't apply elsewhere. 8-( 266 // Also, it doesn't apply elsewhere. 8-(
267 // We ought to find a cleaner solution for compiling stubs parameterised 267 // We ought to find a cleaner solution for compiling stubs parameterised
268 // over type or class variables, esp ones with bounds... 268 // over type or class variables, esp ones with bounds...
269 return kDetectable & kTaggedPointer; 269 return kDetectable & kTaggedPointer;
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 FEEDBACK_VECTOR_TYPE:
275 case BYTE_ARRAY_TYPE: 276 case BYTE_ARRAY_TYPE:
276 case FOREIGN_TYPE: 277 case FOREIGN_TYPE:
277 case SCRIPT_TYPE: 278 case SCRIPT_TYPE:
278 case CODE_TYPE: 279 case CODE_TYPE:
279 case PROPERTY_CELL_TYPE: 280 case PROPERTY_CELL_TYPE:
280 return kInternal & kTaggedPointer; 281 return kInternal & kTaggedPointer;
281 default: 282 default:
282 UNREACHABLE(); 283 UNREACHABLE();
283 return kNone; 284 return kNone;
284 } 285 }
(...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after
1361 1362
1362 template TypeImpl<ZoneTypeConfig>::TypeHandle 1363 template TypeImpl<ZoneTypeConfig>::TypeHandle
1363 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( 1364 TypeImpl<ZoneTypeConfig>::Convert<HeapType>(
1364 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); 1365 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*);
1365 template TypeImpl<HeapTypeConfig>::TypeHandle 1366 template TypeImpl<HeapTypeConfig>::TypeHandle
1366 TypeImpl<HeapTypeConfig>::Convert<Type>( 1367 TypeImpl<HeapTypeConfig>::Convert<Type>(
1367 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); 1368 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*);
1368 1369
1369 } // namespace internal 1370 } // namespace internal
1370 } // namespace v8 1371 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698