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

Side by Side Diff: src/types.cc

Issue 1205473004: [turbofan] Make global variable loads and stores explicit. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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/types.h ('k') | test/cctest/test-types.cc » ('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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 } 228 }
229 case HEAP_NUMBER_TYPE: 229 case HEAP_NUMBER_TYPE:
230 return kNumber & kTaggedPointer; 230 return kNumber & kTaggedPointer;
231 case JS_VALUE_TYPE: 231 case JS_VALUE_TYPE:
232 case JS_DATE_TYPE: 232 case JS_DATE_TYPE:
233 case JS_OBJECT_TYPE: 233 case JS_OBJECT_TYPE:
234 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: 234 case JS_CONTEXT_EXTENSION_OBJECT_TYPE:
235 case JS_GENERATOR_OBJECT_TYPE: 235 case JS_GENERATOR_OBJECT_TYPE:
236 case JS_MODULE_TYPE: 236 case JS_MODULE_TYPE:
237 case JS_BUILTINS_OBJECT_TYPE: 237 case JS_BUILTINS_OBJECT_TYPE:
238 case JS_GLOBAL_OBJECT_TYPE:
238 case JS_GLOBAL_PROXY_TYPE: 239 case JS_GLOBAL_PROXY_TYPE:
239 case JS_ARRAY_BUFFER_TYPE: 240 case JS_ARRAY_BUFFER_TYPE:
240 case JS_ARRAY_TYPE: 241 case JS_ARRAY_TYPE:
241 case JS_TYPED_ARRAY_TYPE: 242 case JS_TYPED_ARRAY_TYPE:
242 case JS_DATA_VIEW_TYPE: 243 case JS_DATA_VIEW_TYPE:
243 case JS_SET_TYPE: 244 case JS_SET_TYPE:
244 case JS_MAP_TYPE: 245 case JS_MAP_TYPE:
245 case JS_SET_ITERATOR_TYPE: 246 case JS_SET_ITERATOR_TYPE:
246 case JS_MAP_ITERATOR_TYPE: 247 case JS_MAP_ITERATOR_TYPE:
247 case JS_WEAK_MAP_TYPE: 248 case JS_WEAK_MAP_TYPE:
248 case JS_WEAK_SET_TYPE: 249 case JS_WEAK_SET_TYPE:
249 if (map->is_undetectable()) return kUndetectable; 250 if (map->is_undetectable()) return kUndetectable;
250 return kOtherObject; 251 return kOtherObject;
251 case JS_GLOBAL_OBJECT_TYPE:
252 return kGlobalObject;
253 case JS_FUNCTION_TYPE: 252 case JS_FUNCTION_TYPE:
254 return kOtherObject; // TODO(rossberg): there should be a Function type. 253 return kOtherObject; // TODO(rossberg): there should be a Function type.
255 case JS_REGEXP_TYPE: 254 case JS_REGEXP_TYPE:
256 return kOtherObject; // TODO(rossberg): there should be a RegExp type. 255 return kOtherObject; // TODO(rossberg): there should be a RegExp type.
257 case JS_PROXY_TYPE: 256 case JS_PROXY_TYPE:
258 case JS_FUNCTION_PROXY_TYPE: 257 case JS_FUNCTION_PROXY_TYPE:
259 return kProxy; 258 return kProxy;
260 case MAP_TYPE: 259 case MAP_TYPE:
261 // When compiling stub templates, the meta map is used as a place holder 260 // When compiling stub templates, the meta map is used as a place holder
262 // for the actual map with which the template is later instantiated. 261 // for the actual map with which the template is later instantiated.
(...skipping 1099 matching lines...) Expand 10 before | Expand all | Expand 10 after
1362 1361
1363 template TypeImpl<ZoneTypeConfig>::TypeHandle 1362 template TypeImpl<ZoneTypeConfig>::TypeHandle
1364 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( 1363 TypeImpl<ZoneTypeConfig>::Convert<HeapType>(
1365 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); 1364 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*);
1366 template TypeImpl<HeapTypeConfig>::TypeHandle 1365 template TypeImpl<HeapTypeConfig>::TypeHandle
1367 TypeImpl<HeapTypeConfig>::Convert<Type>( 1366 TypeImpl<HeapTypeConfig>::Convert<Type>(
1368 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); 1367 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*);
1369 1368
1370 } // namespace internal 1369 } // namespace internal
1371 } // namespace v8 1370 } // namespace v8
OLDNEW
« no previous file with comments | « src/types.h ('k') | test/cctest/test-types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698