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

Side by Side Diff: src/ast/ast-types.cc

Issue 2915793002: [api] Prototype WeakRef implementation
Patch Set: Created 3 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/api.cc ('k') | src/bootstrapper.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/ast/ast-types.h" 7 #include "src/ast/ast-types.h"
8 8
9 #include "src/handles-inl.h" 9 #include "src/handles-inl.h"
10 #include "src/objects-inl.h" 10 #include "src/objects-inl.h"
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 case JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE: 253 case JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE:
254 case JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE: 254 case JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE:
255 case JS_FAST_ARRAY_VALUE_ITERATOR_TYPE: 255 case JS_FAST_ARRAY_VALUE_ITERATOR_TYPE:
256 case JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE: 256 case JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE:
257 case JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: 257 case JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE:
258 case JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: 258 case JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE:
259 case JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE: 259 case JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE:
260 260
261 case JS_WEAK_MAP_TYPE: 261 case JS_WEAK_MAP_TYPE:
262 case JS_WEAK_SET_TYPE: 262 case JS_WEAK_SET_TYPE:
263 case JS_WEAK_REF_TYPE:
263 case JS_PROMISE_CAPABILITY_TYPE: 264 case JS_PROMISE_CAPABILITY_TYPE:
264 case JS_PROMISE_TYPE: 265 case JS_PROMISE_TYPE:
265 case JS_BOUND_FUNCTION_TYPE: 266 case JS_BOUND_FUNCTION_TYPE:
266 DCHECK(!map->is_undetectable()); 267 DCHECK(!map->is_undetectable());
267 return kOtherObject; 268 return kOtherObject;
268 case JS_FUNCTION_TYPE: 269 case JS_FUNCTION_TYPE:
269 DCHECK(!map->is_undetectable()); 270 DCHECK(!map->is_undetectable());
270 return kFunction; 271 return kFunction;
271 case JS_PROXY_TYPE: 272 case JS_PROXY_TYPE:
272 DCHECK(!map->is_undetectable()); 273 DCHECK(!map->is_undetectable());
(...skipping 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after
1299 } 1300 }
1300 1301
1301 // ----------------------------------------------------------------------------- 1302 // -----------------------------------------------------------------------------
1302 // Instantiations. 1303 // Instantiations.
1303 1304
1304 template class AstType::Iterator<i::Map>; 1305 template class AstType::Iterator<i::Map>;
1305 template class AstType::Iterator<i::Object>; 1306 template class AstType::Iterator<i::Object>;
1306 1307
1307 } // namespace internal 1308 } // namespace internal
1308 } // namespace v8 1309 } // namespace v8
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698