| 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/class_table.h" | 7 #include "vm/class_table.h" |
| 8 #include "vm/freelist.h" | 8 #include "vm/freelist.h" |
| 9 #include "vm/isolate.h" | 9 #include "vm/isolate.h" |
| 10 #include "vm/object.h" | 10 #include "vm/object.h" |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 } | 386 } |
| 387 | 387 |
| 388 | 388 |
| 389 intptr_t RawBoundedType::VisitBoundedTypePointers( | 389 intptr_t RawBoundedType::VisitBoundedTypePointers( |
| 390 RawBoundedType* raw_obj, ObjectPointerVisitor* visitor) { | 390 RawBoundedType* raw_obj, ObjectPointerVisitor* visitor) { |
| 391 visitor->VisitPointers(raw_obj->from(), raw_obj->to()); | 391 visitor->VisitPointers(raw_obj->from(), raw_obj->to()); |
| 392 return BoundedType::InstanceSize(); | 392 return BoundedType::InstanceSize(); |
| 393 } | 393 } |
| 394 | 394 |
| 395 | 395 |
| 396 intptr_t RawMixinAppType::VisitMixinAppTypePointers( |
| 397 RawMixinAppType* raw_obj, ObjectPointerVisitor* visitor) { |
| 398 visitor->VisitPointers(raw_obj->from(), raw_obj->to()); |
| 399 return MixinAppType::InstanceSize(); |
| 400 } |
| 401 |
| 402 |
| 396 intptr_t RawAbstractTypeArguments::VisitAbstractTypeArgumentsPointers( | 403 intptr_t RawAbstractTypeArguments::VisitAbstractTypeArgumentsPointers( |
| 397 RawAbstractTypeArguments* raw_obj, ObjectPointerVisitor* visitor) { | 404 RawAbstractTypeArguments* raw_obj, ObjectPointerVisitor* visitor) { |
| 398 // RawAbstractTypeArguments is an abstract class. | 405 // RawAbstractTypeArguments is an abstract class. |
| 399 UNREACHABLE(); | 406 UNREACHABLE(); |
| 400 return 0; | 407 return 0; |
| 401 } | 408 } |
| 402 | 409 |
| 403 | 410 |
| 404 intptr_t RawTypeArguments::VisitTypeArgumentsPointers( | 411 intptr_t RawTypeArguments::VisitTypeArgumentsPointers( |
| 405 RawTypeArguments* raw_obj, ObjectPointerVisitor* visitor) { | 412 RawTypeArguments* raw_obj, ObjectPointerVisitor* visitor) { |
| (...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1106 | 1113 |
| 1107 intptr_t RawWeakProperty::VisitWeakPropertyPointers( | 1114 intptr_t RawWeakProperty::VisitWeakPropertyPointers( |
| 1108 RawWeakProperty* raw_obj, ObjectPointerVisitor* visitor) { | 1115 RawWeakProperty* raw_obj, ObjectPointerVisitor* visitor) { |
| 1109 // Make sure that we got here with the tagged pointer as this. | 1116 // Make sure that we got here with the tagged pointer as this. |
| 1110 ASSERT(raw_obj->IsHeapObject()); | 1117 ASSERT(raw_obj->IsHeapObject()); |
| 1111 visitor->VisitPointers(raw_obj->from(), raw_obj->to()); | 1118 visitor->VisitPointers(raw_obj->from(), raw_obj->to()); |
| 1112 return WeakProperty::InstanceSize(); | 1119 return WeakProperty::InstanceSize(); |
| 1113 } | 1120 } |
| 1114 | 1121 |
| 1115 } // namespace dart | 1122 } // namespace dart |
| OLD | NEW |