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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 case ALLOCATION_MEMENTO_TYPE: | 263 case ALLOCATION_MEMENTO_TYPE: |
264 case TYPE_FEEDBACK_INFO_TYPE: | 264 case TYPE_FEEDBACK_INFO_TYPE: |
265 case ALIASED_ARGUMENTS_ENTRY_TYPE: | 265 case ALIASED_ARGUMENTS_ENTRY_TYPE: |
266 case BOX_TYPE: | 266 case BOX_TYPE: |
267 case PROMISE_CONTAINER_TYPE: | 267 case PROMISE_CONTAINER_TYPE: |
268 case DEBUG_INFO_TYPE: | 268 case DEBUG_INFO_TYPE: |
269 case BREAK_POINT_INFO_TYPE: | 269 case BREAK_POINT_INFO_TYPE: |
270 case CELL_TYPE: | 270 case CELL_TYPE: |
271 case WEAK_CELL_TYPE: | 271 case WEAK_CELL_TYPE: |
272 case PROTOTYPE_INFO_TYPE: | 272 case PROTOTYPE_INFO_TYPE: |
| 273 case TUPLE3_TYPE: |
273 case CONTEXT_EXTENSION_TYPE: | 274 case CONTEXT_EXTENSION_TYPE: |
274 UNREACHABLE(); | 275 UNREACHABLE(); |
275 return kNone; | 276 return kNone; |
276 } | 277 } |
277 UNREACHABLE(); | 278 UNREACHABLE(); |
278 return kNone; | 279 return kNone; |
279 } | 280 } |
280 | 281 |
281 Type::bitset BitsetType::Lub(i::Object* value) { | 282 Type::bitset BitsetType::Lub(i::Object* value) { |
282 DisallowHeapAllocation no_allocation; | 283 DisallowHeapAllocation no_allocation; |
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
994 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; | 995 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; |
995 } | 996 } |
996 | 997 |
997 BitsetType::bitset BitsetType::UnsignedSmall() { | 998 BitsetType::bitset BitsetType::UnsignedSmall() { |
998 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; | 999 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; |
999 } | 1000 } |
1000 | 1001 |
1001 } // namespace compiler | 1002 } // namespace compiler |
1002 } // namespace internal | 1003 } // namespace internal |
1003 } // namespace v8 | 1004 } // namespace v8 |
OLD | NEW |