Index: src/heap/objects-visiting-inl.h |
diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h |
index 05aa375bcdb042f30e1d9c672e6c3876283f30f5..c1cd67437222dc9be3592540b5b1ea4c5aab61ba 100644 |
--- a/src/heap/objects-visiting-inl.h |
+++ b/src/heap/objects-visiting-inl.h |
@@ -42,6 +42,7 @@ void StaticNewSpaceVisitor<StaticVisitor>::Initialize() { |
int>::Visit); |
table_.Register(kVisitByteArray, &VisitByteArray); |
+ table_.Register(kVisitBytecodeArray, &VisitBytecodeArray); |
table_.Register( |
kVisitSharedFunctionInfo, |
@@ -147,6 +148,8 @@ void StaticMarkingVisitor<StaticVisitor>::Initialize() { |
table_.Register(kVisitByteArray, &DataObjectVisitor::Visit); |
+ table_.Register(kVisitBytecodeArray, &DataObjectVisitor::Visit); |
+ |
table_.Register(kVisitFreeSpace, &DataObjectVisitor::Visit); |
table_.Register(kVisitSeqOneByteString, &DataObjectVisitor::Visit); |