| 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/freelist.h" | 7 #include "vm/freelist.h" |
| 8 #include "vm/isolate.h" | 8 #include "vm/isolate.h" |
| 9 #include "vm/object.h" | 9 #include "vm/object.h" |
| 10 #include "vm/visitor.h" | 10 #include "vm/visitor.h" |
| (...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 643 intptr_t length = Smi::Value(raw_obj->ptr()->data_length_); | 643 intptr_t length = Smi::Value(raw_obj->ptr()->data_length_); |
| 644 visitor->VisitPointers(raw_obj->from(), raw_obj->to()); | 644 visitor->VisitPointers(raw_obj->from(), raw_obj->to()); |
| 645 return JSRegExp::InstanceSize(length); | 645 return JSRegExp::InstanceSize(length); |
| 646 } | 646 } |
| 647 | 647 |
| 648 | 648 |
| 649 intptr_t RawICData::VisitICDataPointers(RawICData* raw_obj, | 649 intptr_t RawICData::VisitICDataPointers(RawICData* raw_obj, |
| 650 ObjectPointerVisitor* visitor) { | 650 ObjectPointerVisitor* visitor) { |
| 651 // Make sure that we got here with the tagged pointer as this. | 651 // Make sure that we got here with the tagged pointer as this. |
| 652 ASSERT(raw_obj->IsHeapObject()); | 652 ASSERT(raw_obj->IsHeapObject()); |
| 653 visitor->VisitPointers(raw_obj->from(), raw_obj->to()); |
| 653 return ICData::InstanceSize(); | 654 return ICData::InstanceSize(); |
| 654 } | 655 } |
| 655 | 656 |
| 656 | 657 |
| 657 } // namespace dart | 658 } // namespace dart |
| OLD | NEW |