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

Side by Side Diff: src/compiler/types.cc

Issue 2567333002: [promises] port NewPromiseCapability to TF (Closed)
Patch Set: Make gcmole happy Created 3 years, 11 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/compiler/code-assembler.cc ('k') | src/contexts.h » ('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/compiler/types.h" 7 #include "src/compiler/types.h"
8 8
9 #include "src/handles-inl.h" 9 #include "src/handles-inl.h"
10 #include "src/ostreams.h" 10 #include "src/ostreams.h"
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 case JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE: 256 case JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE:
257 case JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE: 257 case JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE:
258 case JS_FAST_ARRAY_VALUE_ITERATOR_TYPE: 258 case JS_FAST_ARRAY_VALUE_ITERATOR_TYPE:
259 case JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE: 259 case JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE:
260 case JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: 260 case JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE:
261 case JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: 261 case JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE:
262 case JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE: 262 case JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE:
263 263
264 case JS_WEAK_MAP_TYPE: 264 case JS_WEAK_MAP_TYPE:
265 case JS_WEAK_SET_TYPE: 265 case JS_WEAK_SET_TYPE:
266 case JS_PROMISE_CAPABILITY_TYPE:
266 case JS_PROMISE_TYPE: 267 case JS_PROMISE_TYPE:
267 DCHECK(!map->is_callable()); 268 DCHECK(!map->is_callable());
268 DCHECK(!map->is_undetectable()); 269 DCHECK(!map->is_undetectable());
269 return kOtherObject; 270 return kOtherObject;
270 case JS_BOUND_FUNCTION_TYPE: 271 case JS_BOUND_FUNCTION_TYPE:
271 DCHECK(!map->is_undetectable()); 272 DCHECK(!map->is_undetectable());
272 return kBoundFunction; 273 return kBoundFunction;
273 case JS_FUNCTION_TYPE: 274 case JS_FUNCTION_TYPE:
274 DCHECK(!map->is_undetectable()); 275 DCHECK(!map->is_undetectable());
275 return kFunction; 276 return kFunction;
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after
1060 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; 1061 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32;
1061 } 1062 }
1062 1063
1063 BitsetType::bitset BitsetType::UnsignedSmall() { 1064 BitsetType::bitset BitsetType::UnsignedSmall() {
1064 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; 1065 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31;
1065 } 1066 }
1066 1067
1067 } // namespace compiler 1068 } // namespace compiler
1068 } // namespace internal 1069 } // namespace internal
1069 } // namespace v8 1070 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/code-assembler.cc ('k') | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698