OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef V8_OBJECTS_BODY_DESCRIPTORS_INL_H_ | 5 #ifndef V8_OBJECTS_BODY_DESCRIPTORS_INL_H_ |
6 #define V8_OBJECTS_BODY_DESCRIPTORS_INL_H_ | 6 #define V8_OBJECTS_BODY_DESCRIPTORS_INL_H_ |
7 | 7 |
8 #include "src/objects-body-descriptors.h" | 8 #include "src/objects-body-descriptors.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 return ReturnType(); | 464 return ReturnType(); |
465 case TRANSITION_ARRAY_TYPE: | 465 case TRANSITION_ARRAY_TYPE: |
466 return Op::template apply<TransitionArray::BodyDescriptor>(p1, p2, p3); | 466 return Op::template apply<TransitionArray::BodyDescriptor>(p1, p2, p3); |
467 case JS_OBJECT_TYPE: | 467 case JS_OBJECT_TYPE: |
468 case JS_ERROR_TYPE: | 468 case JS_ERROR_TYPE: |
469 case JS_ARGUMENTS_TYPE: | 469 case JS_ARGUMENTS_TYPE: |
470 case JS_PROMISE_CAPABILITY_TYPE: | 470 case JS_PROMISE_CAPABILITY_TYPE: |
471 case JS_PROMISE_TYPE: | 471 case JS_PROMISE_TYPE: |
472 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 472 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
473 case JS_GENERATOR_OBJECT_TYPE: | 473 case JS_GENERATOR_OBJECT_TYPE: |
| 474 case JS_ASYNC_GENERATOR_OBJECT_TYPE: |
| 475 case JS_ASYNC_FROM_SYNC_ITERATOR_TYPE: |
474 case JS_VALUE_TYPE: | 476 case JS_VALUE_TYPE: |
475 case JS_DATE_TYPE: | 477 case JS_DATE_TYPE: |
476 case JS_ARRAY_TYPE: | 478 case JS_ARRAY_TYPE: |
477 case JS_MODULE_NAMESPACE_TYPE: | 479 case JS_MODULE_NAMESPACE_TYPE: |
478 case JS_TYPED_ARRAY_TYPE: | 480 case JS_TYPED_ARRAY_TYPE: |
479 case JS_DATA_VIEW_TYPE: | 481 case JS_DATA_VIEW_TYPE: |
480 case JS_SET_TYPE: | 482 case JS_SET_TYPE: |
481 case JS_MAP_TYPE: | 483 case JS_MAP_TYPE: |
482 case JS_SET_ITERATOR_TYPE: | 484 case JS_SET_ITERATOR_TYPE: |
483 case JS_MAP_ITERATOR_TYPE: | 485 case JS_MAP_ITERATOR_TYPE: |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 | 614 |
613 template <typename ObjectVisitor> | 615 template <typename ObjectVisitor> |
614 void HeapObject::IterateBodyFast(InstanceType type, int object_size, | 616 void HeapObject::IterateBodyFast(InstanceType type, int object_size, |
615 ObjectVisitor* v) { | 617 ObjectVisitor* v) { |
616 BodyDescriptorApply<CallIterateBody, void>(type, this, object_size, v); | 618 BodyDescriptorApply<CallIterateBody, void>(type, this, object_size, v); |
617 } | 619 } |
618 } // namespace internal | 620 } // namespace internal |
619 } // namespace v8 | 621 } // namespace v8 |
620 | 622 |
621 #endif // V8_OBJECTS_BODY_DESCRIPTORS_INL_H_ | 623 #endif // V8_OBJECTS_BODY_DESCRIPTORS_INL_H_ |
OLD | NEW |