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

Side by Side Diff: src/types.cc

Issue 893073006: Add map-based read barrier to WeakCell Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix merge Created 5 years, 10 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/type-info.cc ('k') | test/cctest/test-compiler.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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 case JS_GLOBAL_PROXY_TYPE: 243 case JS_GLOBAL_PROXY_TYPE:
244 case JS_ARRAY_BUFFER_TYPE: 244 case JS_ARRAY_BUFFER_TYPE:
245 case JS_TYPED_ARRAY_TYPE: 245 case JS_TYPED_ARRAY_TYPE:
246 case JS_DATA_VIEW_TYPE: 246 case JS_DATA_VIEW_TYPE:
247 case JS_SET_TYPE: 247 case JS_SET_TYPE:
248 case JS_MAP_TYPE: 248 case JS_MAP_TYPE:
249 case JS_SET_ITERATOR_TYPE: 249 case JS_SET_ITERATOR_TYPE:
250 case JS_MAP_ITERATOR_TYPE: 250 case JS_MAP_ITERATOR_TYPE:
251 case JS_WEAK_MAP_TYPE: 251 case JS_WEAK_MAP_TYPE:
252 case JS_WEAK_SET_TYPE: 252 case JS_WEAK_SET_TYPE:
253 case WEAK_CELL_TYPE:
253 if (map->is_undetectable()) return kUndetectable; 254 if (map->is_undetectable()) return kUndetectable;
254 return kOtherObject; 255 return kOtherObject;
255 case JS_ARRAY_TYPE: 256 case JS_ARRAY_TYPE:
256 return kArray; 257 return kArray;
257 case JS_FUNCTION_TYPE: 258 case JS_FUNCTION_TYPE:
258 return kOtherObject; // TODO(rossberg): there should be a Function type. 259 return kOtherObject; // TODO(rossberg): there should be a Function type.
259 case JS_REGEXP_TYPE: 260 case JS_REGEXP_TYPE:
260 return kOtherObject; // TODO(rossberg): there should be a RegExp type. 261 return kOtherObject; // TODO(rossberg): there should be a RegExp type.
261 case JS_PROXY_TYPE: 262 case JS_PROXY_TYPE:
262 case JS_FUNCTION_PROXY_TYPE: 263 case JS_FUNCTION_PROXY_TYPE:
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after
1287 template class TypeImpl<HeapTypeConfig>::Iterator<i::Object>; 1288 template class TypeImpl<HeapTypeConfig>::Iterator<i::Object>;
1288 1289
1289 template TypeImpl<ZoneTypeConfig>::TypeHandle 1290 template TypeImpl<ZoneTypeConfig>::TypeHandle
1290 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( 1291 TypeImpl<ZoneTypeConfig>::Convert<HeapType>(
1291 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); 1292 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*);
1292 template TypeImpl<HeapTypeConfig>::TypeHandle 1293 template TypeImpl<HeapTypeConfig>::TypeHandle
1293 TypeImpl<HeapTypeConfig>::Convert<Type>( 1294 TypeImpl<HeapTypeConfig>::Convert<Type>(
1294 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); 1295 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*);
1295 1296
1296 } } // namespace v8::internal 1297 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/type-info.cc ('k') | test/cctest/test-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698