OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "vm/raw_object.h" | 5 #include "vm/raw_object.h" |
6 | 6 |
7 #include "vm/become.h" | 7 #include "vm/become.h" |
8 #include "vm/class_table.h" | 8 #include "vm/class_table.h" |
9 #include "vm/dart.h" | 9 #include "vm/dart.h" |
10 #include "vm/freelist.h" | 10 #include "vm/freelist.h" |
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 } | 639 } |
640 | 640 |
641 | 641 |
642 intptr_t RawSingleTargetCache::VisitSingleTargetCachePointers( | 642 intptr_t RawSingleTargetCache::VisitSingleTargetCachePointers( |
643 RawSingleTargetCache* raw_obj, ObjectPointerVisitor* visitor) { | 643 RawSingleTargetCache* raw_obj, ObjectPointerVisitor* visitor) { |
644 visitor->VisitPointers(raw_obj->from(), raw_obj->to()); | 644 visitor->VisitPointers(raw_obj->from(), raw_obj->to()); |
645 return SingleTargetCache::InstanceSize(); | 645 return SingleTargetCache::InstanceSize(); |
646 } | 646 } |
647 | 647 |
648 | 648 |
| 649 intptr_t RawUnlinkedCall::VisitUnlinkedCallPointers( |
| 650 RawUnlinkedCall* raw_obj, ObjectPointerVisitor* visitor) { |
| 651 visitor->VisitPointers(raw_obj->from(), raw_obj->to()); |
| 652 return UnlinkedCall::InstanceSize(); |
| 653 } |
| 654 |
| 655 |
649 intptr_t RawICData::VisitICDataPointers(RawICData* raw_obj, | 656 intptr_t RawICData::VisitICDataPointers(RawICData* raw_obj, |
650 ObjectPointerVisitor* visitor) { | 657 ObjectPointerVisitor* visitor) { |
651 visitor->VisitPointers(raw_obj->from(), raw_obj->to()); | 658 visitor->VisitPointers(raw_obj->from(), raw_obj->to()); |
652 return ICData::InstanceSize(); | 659 return ICData::InstanceSize(); |
653 } | 660 } |
654 | 661 |
655 | 662 |
656 intptr_t RawMegamorphicCache::VisitMegamorphicCachePointers( | 663 intptr_t RawMegamorphicCache::VisitMegamorphicCachePointers( |
657 RawMegamorphicCache* raw_obj, | 664 RawMegamorphicCache* raw_obj, |
658 ObjectPointerVisitor* visitor) { | 665 ObjectPointerVisitor* visitor) { |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
964 intptr_t RawUserTag::VisitUserTagPointers( | 971 intptr_t RawUserTag::VisitUserTagPointers( |
965 RawUserTag* raw_obj, ObjectPointerVisitor* visitor) { | 972 RawUserTag* raw_obj, ObjectPointerVisitor* visitor) { |
966 // Make sure that we got here with the tagged pointer as this. | 973 // Make sure that we got here with the tagged pointer as this. |
967 ASSERT(raw_obj->IsHeapObject()); | 974 ASSERT(raw_obj->IsHeapObject()); |
968 visitor->VisitPointers(raw_obj->from(), raw_obj->to()); | 975 visitor->VisitPointers(raw_obj->from(), raw_obj->to()); |
969 return UserTag::InstanceSize(); | 976 return UserTag::InstanceSize(); |
970 } | 977 } |
971 | 978 |
972 | 979 |
973 } // namespace dart | 980 } // namespace dart |
OLD | NEW |