Chromium Code Reviews| Index: runtime/vm/gc_marker.cc |
| diff --git a/runtime/vm/gc_marker.cc b/runtime/vm/gc_marker.cc |
| index 6bdb245a0672d7e4f45da57fa6a17472740dce69..c04163744917c9fe42b846885aee52bade372fd5 100644 |
| --- a/runtime/vm/gc_marker.cc |
| +++ b/runtime/vm/gc_marker.cc |
| @@ -139,7 +139,8 @@ class MarkingVisitor : public ObjectPointerVisitor { |
| // Mark the object and push it on the marking stack. |
| ASSERT(!raw_obj->IsMarked()); |
| - RawClass* raw_class = raw_obj->ptr()->class_; |
| + // TODO(vegorov): consider moving it to a separate helper method. |
| + RawClass* raw_class = raw_obj->GetClass(); |
|
Ivan Posva
2012/05/26 04:34:46
This does not need to be done early anymore as the
|
| raw_obj->SetMarkBit(); |
| marking_stack_->Push(raw_obj); |