| 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/ostreams.h" | 10 #include "src/ostreams.h" |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 case JS_API_OBJECT_TYPE: | 197 case JS_API_OBJECT_TYPE: |
| 198 case JS_SPECIAL_API_OBJECT_TYPE: | 198 case JS_SPECIAL_API_OBJECT_TYPE: |
| 199 if (map->is_undetectable()) return kOtherUndetectable; | 199 if (map->is_undetectable()) return kOtherUndetectable; |
| 200 return kOtherObject; | 200 return kOtherObject; |
| 201 case JS_VALUE_TYPE: | 201 case JS_VALUE_TYPE: |
| 202 case JS_MESSAGE_OBJECT_TYPE: | 202 case JS_MESSAGE_OBJECT_TYPE: |
| 203 case JS_DATE_TYPE: | 203 case JS_DATE_TYPE: |
| 204 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 204 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
| 205 case JS_GENERATOR_OBJECT_TYPE: | 205 case JS_GENERATOR_OBJECT_TYPE: |
| 206 case JS_MODULE_NAMESPACE_TYPE: | 206 case JS_MODULE_NAMESPACE_TYPE: |
| 207 case JS_FIXED_ARRAY_ITERATOR_TYPE: |
| 207 case JS_ARRAY_BUFFER_TYPE: | 208 case JS_ARRAY_BUFFER_TYPE: |
| 208 case JS_ARRAY_TYPE: | 209 case JS_ARRAY_TYPE: |
| 209 case JS_REGEXP_TYPE: // TODO(rossberg): there should be a RegExp type. | 210 case JS_REGEXP_TYPE: // TODO(rossberg): there should be a RegExp type. |
| 210 case JS_TYPED_ARRAY_TYPE: | 211 case JS_TYPED_ARRAY_TYPE: |
| 211 case JS_DATA_VIEW_TYPE: | 212 case JS_DATA_VIEW_TYPE: |
| 212 case JS_SET_TYPE: | 213 case JS_SET_TYPE: |
| 213 case JS_MAP_TYPE: | 214 case JS_MAP_TYPE: |
| 214 case JS_SET_ITERATOR_TYPE: | 215 case JS_SET_ITERATOR_TYPE: |
| 215 case JS_MAP_ITERATOR_TYPE: | 216 case JS_MAP_ITERATOR_TYPE: |
| 216 case JS_STRING_ITERATOR_TYPE: | 217 case JS_STRING_ITERATOR_TYPE: |
| (...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1007 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; | 1008 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; |
| 1008 } | 1009 } |
| 1009 | 1010 |
| 1010 BitsetType::bitset BitsetType::UnsignedSmall() { | 1011 BitsetType::bitset BitsetType::UnsignedSmall() { |
| 1011 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; | 1012 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; |
| 1012 } | 1013 } |
| 1013 | 1014 |
| 1014 } // namespace compiler | 1015 } // namespace compiler |
| 1015 } // namespace internal | 1016 } // namespace internal |
| 1016 } // namespace v8 | 1017 } // namespace v8 |
| OLD | NEW |