| 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 case JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE: | 259 case JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE: |
| 260 case JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE: | 260 case JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE: |
| 261 case JS_FAST_ARRAY_VALUE_ITERATOR_TYPE: | 261 case JS_FAST_ARRAY_VALUE_ITERATOR_TYPE: |
| 262 case JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE: | 262 case JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE: |
| 263 case JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: | 263 case JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: |
| 264 case JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: | 264 case JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: |
| 265 case JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE: | 265 case JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE: |
| 266 | 266 |
| 267 case JS_WEAK_MAP_TYPE: | 267 case JS_WEAK_MAP_TYPE: |
| 268 case JS_WEAK_SET_TYPE: | 268 case JS_WEAK_SET_TYPE: |
| 269 case JS_WEAK_REF_TYPE: |
| 269 case JS_PROMISE_CAPABILITY_TYPE: | 270 case JS_PROMISE_CAPABILITY_TYPE: |
| 270 case JS_PROMISE_TYPE: | 271 case JS_PROMISE_TYPE: |
| 271 DCHECK(!map->is_callable()); | 272 DCHECK(!map->is_callable()); |
| 272 DCHECK(!map->is_undetectable()); | 273 DCHECK(!map->is_undetectable()); |
| 273 return kOtherObject; | 274 return kOtherObject; |
| 274 case JS_BOUND_FUNCTION_TYPE: | 275 case JS_BOUND_FUNCTION_TYPE: |
| 275 DCHECK(!map->is_undetectable()); | 276 DCHECK(!map->is_undetectable()); |
| 276 return kBoundFunction; | 277 return kBoundFunction; |
| 277 case JS_FUNCTION_TYPE: | 278 case JS_FUNCTION_TYPE: |
| 278 DCHECK(!map->is_undetectable()); | 279 DCHECK(!map->is_undetectable()); |
| (...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1056 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; | 1057 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; |
| 1057 } | 1058 } |
| 1058 | 1059 |
| 1059 BitsetType::bitset BitsetType::UnsignedSmall() { | 1060 BitsetType::bitset BitsetType::UnsignedSmall() { |
| 1060 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; | 1061 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; |
| 1061 } | 1062 } |
| 1062 | 1063 |
| 1063 } // namespace compiler | 1064 } // namespace compiler |
| 1064 } // namespace internal | 1065 } // namespace internal |
| 1065 } // namespace v8 | 1066 } // namespace v8 |
| OLD | NEW |