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/ast/ast-types.h" | 7 #include "src/ast/ast-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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 case MUTABLE_HEAP_NUMBER_TYPE: | 295 case MUTABLE_HEAP_NUMBER_TYPE: |
296 case FREE_SPACE_TYPE: | 296 case FREE_SPACE_TYPE: |
297 #define FIXED_TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size) \ | 297 #define FIXED_TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size) \ |
298 case FIXED_##TYPE##_ARRAY_TYPE: | 298 case FIXED_##TYPE##_ARRAY_TYPE: |
299 | 299 |
300 TYPED_ARRAYS(FIXED_TYPED_ARRAY_CASE) | 300 TYPED_ARRAYS(FIXED_TYPED_ARRAY_CASE) |
301 #undef FIXED_TYPED_ARRAY_CASE | 301 #undef FIXED_TYPED_ARRAY_CASE |
302 case FILLER_TYPE: | 302 case FILLER_TYPE: |
303 case ACCESS_CHECK_INFO_TYPE: | 303 case ACCESS_CHECK_INFO_TYPE: |
304 case INTERCEPTOR_INFO_TYPE: | 304 case INTERCEPTOR_INFO_TYPE: |
305 case CALL_HANDLER_INFO_TYPE: | |
306 case PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE: | 305 case PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE: |
307 case PROMISE_REACTION_JOB_INFO_TYPE: | 306 case PROMISE_REACTION_JOB_INFO_TYPE: |
308 case FUNCTION_TEMPLATE_INFO_TYPE: | 307 case FUNCTION_TEMPLATE_INFO_TYPE: |
309 case OBJECT_TEMPLATE_INFO_TYPE: | 308 case OBJECT_TEMPLATE_INFO_TYPE: |
310 case ALLOCATION_MEMENTO_TYPE: | 309 case ALLOCATION_MEMENTO_TYPE: |
311 case TYPE_FEEDBACK_INFO_TYPE: | |
312 case ALIASED_ARGUMENTS_ENTRY_TYPE: | 310 case ALIASED_ARGUMENTS_ENTRY_TYPE: |
313 case DEBUG_INFO_TYPE: | 311 case DEBUG_INFO_TYPE: |
314 case BREAK_POINT_INFO_TYPE: | |
315 case STACK_FRAME_INFO_TYPE: | 312 case STACK_FRAME_INFO_TYPE: |
316 case CELL_TYPE: | 313 case CELL_TYPE: |
317 case WEAK_CELL_TYPE: | 314 case WEAK_CELL_TYPE: |
318 case PROTOTYPE_INFO_TYPE: | 315 case PROTOTYPE_INFO_TYPE: |
319 case TUPLE2_TYPE: | 316 case TUPLE2_TYPE: |
320 case TUPLE3_TYPE: | 317 case TUPLE3_TYPE: |
321 case CONTEXT_EXTENSION_TYPE: | 318 case CONTEXT_EXTENSION_TYPE: |
322 case CONSTANT_ELEMENTS_PAIR_TYPE: | 319 case PADDING_TYPE_1: |
| 320 case PADDING_TYPE_2: |
| 321 case PADDING_TYPE_3: |
| 322 case PADDING_TYPE_4: |
323 UNREACHABLE(); | 323 UNREACHABLE(); |
324 return kNone; | 324 return kNone; |
325 } | 325 } |
326 UNREACHABLE(); | 326 UNREACHABLE(); |
327 return kNone; | 327 return kNone; |
328 } | 328 } |
329 | 329 |
330 AstType::bitset AstBitsetType::Lub(i::Object* value) { | 330 AstType::bitset AstBitsetType::Lub(i::Object* value) { |
331 DisallowHeapAllocation no_allocation; | 331 DisallowHeapAllocation no_allocation; |
332 if (value->IsNumber()) { | 332 if (value->IsNumber()) { |
(...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1299 } | 1299 } |
1300 | 1300 |
1301 // ----------------------------------------------------------------------------- | 1301 // ----------------------------------------------------------------------------- |
1302 // Instantiations. | 1302 // Instantiations. |
1303 | 1303 |
1304 template class AstType::Iterator<i::Map>; | 1304 template class AstType::Iterator<i::Map>; |
1305 template class AstType::Iterator<i::Object>; | 1305 template class AstType::Iterator<i::Object>; |
1306 | 1306 |
1307 } // namespace internal | 1307 } // namespace internal |
1308 } // namespace v8 | 1308 } // namespace v8 |
OLD | NEW |