| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 DCHECK(map == heap->uninitialized_map() || | 183 DCHECK(map == heap->uninitialized_map() || |
| 184 map == heap->no_interceptor_result_sentinel_map() || | 184 map == heap->no_interceptor_result_sentinel_map() || |
| 185 map == heap->termination_exception_map() || | 185 map == heap->termination_exception_map() || |
| 186 map == heap->arguments_marker_map() || | 186 map == heap->arguments_marker_map() || |
| 187 map == heap->optimized_out_map() || | 187 map == heap->optimized_out_map() || |
| 188 map == heap->stale_register_map()); | 188 map == heap->stale_register_map()); |
| 189 return kOtherInternal; | 189 return kOtherInternal; |
| 190 } | 190 } |
| 191 case HEAP_NUMBER_TYPE: | 191 case HEAP_NUMBER_TYPE: |
| 192 return kNumber; | 192 return kNumber; |
| 193 case SIMD128_VALUE_TYPE: |
| 194 return kSimd; |
| 193 case JS_OBJECT_TYPE: | 195 case JS_OBJECT_TYPE: |
| 194 case JS_ARGUMENTS_TYPE: | 196 case JS_ARGUMENTS_TYPE: |
| 195 case JS_ERROR_TYPE: | 197 case JS_ERROR_TYPE: |
| 196 case JS_GLOBAL_OBJECT_TYPE: | 198 case JS_GLOBAL_OBJECT_TYPE: |
| 197 case JS_GLOBAL_PROXY_TYPE: | 199 case JS_GLOBAL_PROXY_TYPE: |
| 198 case JS_API_OBJECT_TYPE: | 200 case JS_API_OBJECT_TYPE: |
| 199 case JS_SPECIAL_API_OBJECT_TYPE: | 201 case JS_SPECIAL_API_OBJECT_TYPE: |
| 200 if (map->is_undetectable()) { | 202 if (map->is_undetectable()) { |
| 201 // Currently we assume that every undetectable receiver is also | 203 // Currently we assume that every undetectable receiver is also |
| 202 // callable, which is what we need to support document.all. We | 204 // callable, which is what we need to support document.all. We |
| (...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1053 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; | 1055 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; |
| 1054 } | 1056 } |
| 1055 | 1057 |
| 1056 BitsetType::bitset BitsetType::UnsignedSmall() { | 1058 BitsetType::bitset BitsetType::UnsignedSmall() { |
| 1057 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; | 1059 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; |
| 1058 } | 1060 } |
| 1059 | 1061 |
| 1060 } // namespace compiler | 1062 } // namespace compiler |
| 1061 } // namespace internal | 1063 } // namespace internal |
| 1062 } // namespace v8 | 1064 } // namespace v8 |
| OLD | NEW |