Index: src/objects-visiting-inl.h |
diff --git a/src/objects-visiting-inl.h b/src/objects-visiting-inl.h |
index 12b044ca989f7780580ce654359309602aaf378c..880b44b50e2d638a0853952d112dcbed49127a62 100644 |
--- a/src/objects-visiting-inl.h |
+++ b/src/objects-visiting-inl.h |
@@ -109,6 +109,7 @@ void Code::CodeIterateBody(ObjectVisitor* v) { |
IteratePointer(v, kRelocationInfoOffset); |
IteratePointer(v, kHandlerTableOffset); |
IteratePointer(v, kDeoptimizationDataOffset); |
+ IteratePointer(v, kTypeFeedbackCellsOffset); |
RelocIterator it(this, mode_mask); |
for (; !it.done(); it.next()) { |
@@ -138,6 +139,9 @@ void Code::CodeIterateBody(Heap* heap) { |
StaticVisitor::VisitPointer( |
heap, |
reinterpret_cast<Object**>(this->address() + kDeoptimizationDataOffset)); |
+ StaticVisitor::VisitPointer( |
+ heap, |
+ reinterpret_cast<Object**>(this->address() + kTypeFeedbackCellsOffset)); |
RelocIterator it(this, mode_mask); |
for (; !it.done(); it.next()) { |