Index: src/objects-visiting-inl.h |
diff --git a/src/objects-visiting-inl.h b/src/objects-visiting-inl.h |
index 010f3068a9e3ce1b7e493cb513e3c8df9fef3562..b4935fcb0837134574e53d8352f6457e6f552997 100644 |
--- a/src/objects-visiting-inl.h |
+++ b/src/objects-visiting-inl.h |
@@ -898,6 +898,7 @@ void Code::CodeIterateBody(ObjectVisitor* v) { |
IteratePointer(v, kHandlerTableOffset); |
IteratePointer(v, kDeoptimizationDataOffset); |
IteratePointer(v, kTypeFeedbackInfoOffset); |
+ IterateNextCodeLink(v, kNextCodeLinkOffset); |
IteratePointer(v, kConstantPoolOffset); |
RelocIterator it(this, mode_mask); |
@@ -932,6 +933,9 @@ void Code::CodeIterateBody(Heap* heap) { |
StaticVisitor::VisitPointer( |
heap, |
reinterpret_cast<Object**>(this->address() + kTypeFeedbackInfoOffset)); |
+ StaticVisitor::VisitNextCodeLink( |
+ heap, |
+ reinterpret_cast<Object**>(this->address() + kNextCodeLinkOffset)); |
StaticVisitor::VisitPointer( |
heap, |
reinterpret_cast<Object**>(this->address() + kConstantPoolOffset)); |