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

Side by Side Diff: src/types.cc

Issue 1077343002: [turbofan] Optimize loads of global constants in JSTypedLowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/factory.cc ('k') | test/mjsunit/global-infinity.js » ('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 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 return kDetectable & kTaggedPointer; 270 return kDetectable & kTaggedPointer;
271 case DECLARED_ACCESSOR_INFO_TYPE: 271 case DECLARED_ACCESSOR_INFO_TYPE:
272 case EXECUTABLE_ACCESSOR_INFO_TYPE: 272 case EXECUTABLE_ACCESSOR_INFO_TYPE:
273 case SHARED_FUNCTION_INFO_TYPE: 273 case SHARED_FUNCTION_INFO_TYPE:
274 case ACCESSOR_PAIR_TYPE: 274 case ACCESSOR_PAIR_TYPE:
275 case FIXED_ARRAY_TYPE: 275 case FIXED_ARRAY_TYPE:
276 case BYTE_ARRAY_TYPE: 276 case BYTE_ARRAY_TYPE:
277 case FOREIGN_TYPE: 277 case FOREIGN_TYPE:
278 case SCRIPT_TYPE: 278 case SCRIPT_TYPE:
279 case CODE_TYPE: 279 case CODE_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 }
285 } 286 }
286 287
287 288
288 template<class Config> 289 template<class Config>
289 typename TypeImpl<Config>::bitset 290 typename TypeImpl<Config>::bitset
(...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after
1360 template class TypeImpl<HeapTypeConfig>::Iterator<i::Object>; 1361 template class TypeImpl<HeapTypeConfig>::Iterator<i::Object>;
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 v8::internal 1370 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | test/mjsunit/global-infinity.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698