Chromium Code Reviews| Index: src/objects-visiting-inl.h |
| diff --git a/src/objects-visiting-inl.h b/src/objects-visiting-inl.h |
| index 829eab809ffce26eefab95c94621a767711a6acc..de382d0b44a01453d35d9179d27479ca8430266b 100644 |
| --- a/src/objects-visiting-inl.h |
| +++ b/src/objects-visiting-inl.h |
| @@ -196,6 +196,11 @@ void StaticMarkingVisitor<StaticVisitor>::Initialize() { |
| // Registration for kVisitJSRegExp is done by StaticVisitor. |
| + table_.Register(kVisitCell, |
| + &FixedBodyVisitor<StaticVisitor, |
| + Cell::BodyDescriptor, |
| + void>::Visit); |
| + |
| table_.Register(kVisitPropertyCell, |
| &FixedBodyVisitor<StaticVisitor, |
| JSGlobalPropertyCell::BodyDescriptor, |
| @@ -243,7 +248,7 @@ template<typename StaticVisitor> |
| void StaticMarkingVisitor<StaticVisitor>::VisitGlobalPropertyCell( |
|
Michael Starzinger
2013/06/12 13:23:25
I know it is probably a bit of additional work, bu
danno
2013/06/12 14:24:28
Done.
|
| Heap* heap, RelocInfo* rinfo) { |
| ASSERT(rinfo->rmode() == RelocInfo::GLOBAL_PROPERTY_CELL); |
| - JSGlobalPropertyCell* cell = rinfo->target_cell(); |
| + Cell* cell = rinfo->target_cell(); |
| StaticVisitor::MarkObject(heap, cell); |
| } |