OLD | NEW |
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/objects-inl.h" | 10 #include "src/objects-inl.h" |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 case JS_FAST_ARRAY_VALUE_ITERATOR_TYPE: | 260 case JS_FAST_ARRAY_VALUE_ITERATOR_TYPE: |
261 case JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE: | 261 case JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE: |
262 case JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: | 262 case JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: |
263 case JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: | 263 case JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: |
264 case JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE: | 264 case JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE: |
265 | 265 |
266 case JS_WEAK_MAP_TYPE: | 266 case JS_WEAK_MAP_TYPE: |
267 case JS_WEAK_SET_TYPE: | 267 case JS_WEAK_SET_TYPE: |
268 case JS_PROMISE_CAPABILITY_TYPE: | 268 case JS_PROMISE_CAPABILITY_TYPE: |
269 case JS_PROMISE_TYPE: | 269 case JS_PROMISE_TYPE: |
| 270 case WASM_MODULE_TYPE: |
| 271 case WASM_INSTANCE_TYPE: |
| 272 case WASM_MEMORY_TYPE: |
| 273 case WASM_TABLE_TYPE: |
270 DCHECK(!map->is_callable()); | 274 DCHECK(!map->is_callable()); |
271 DCHECK(!map->is_undetectable()); | 275 DCHECK(!map->is_undetectable()); |
272 return kOtherObject; | 276 return kOtherObject; |
273 case JS_BOUND_FUNCTION_TYPE: | 277 case JS_BOUND_FUNCTION_TYPE: |
274 DCHECK(!map->is_undetectable()); | 278 DCHECK(!map->is_undetectable()); |
275 return kBoundFunction; | 279 return kBoundFunction; |
276 case JS_FUNCTION_TYPE: | 280 case JS_FUNCTION_TYPE: |
277 DCHECK(!map->is_undetectable()); | 281 DCHECK(!map->is_undetectable()); |
278 return kFunction; | 282 return kFunction; |
279 case JS_PROXY_TYPE: | 283 case JS_PROXY_TYPE: |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1065 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; | 1069 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; |
1066 } | 1070 } |
1067 | 1071 |
1068 BitsetType::bitset BitsetType::UnsignedSmall() { | 1072 BitsetType::bitset BitsetType::UnsignedSmall() { |
1069 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; | 1073 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; |
1070 } | 1074 } |
1071 | 1075 |
1072 } // namespace compiler | 1076 } // namespace compiler |
1073 } // namespace internal | 1077 } // namespace internal |
1074 } // namespace v8 | 1078 } // namespace v8 |
OLD | NEW |