Index: src/heap/objects-visiting-inl.h |
diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h |
index d86406bf5f77c204957dce60d4125974eff17f0e..53a1310ed9ca4a210988166a1b94f962a7ba99e1 100644 |
--- a/src/heap/objects-visiting-inl.h |
+++ b/src/heap/objects-visiting-inl.h |
@@ -31,6 +31,10 @@ void StaticNewSpaceVisitor<StaticVisitor>::Initialize() { |
kVisitConsString, |
&FixedBodyVisitor<StaticVisitor, ConsString::BodyDescriptor, int>::Visit); |
+ table_.Register( |
+ kVisitThinString, |
+ &FixedBodyVisitor<StaticVisitor, ThinString::BodyDescriptor, int>::Visit); |
+ |
table_.Register(kVisitSlicedString, |
&FixedBodyVisitor<StaticVisitor, SlicedString::BodyDescriptor, |
int>::Visit); |
@@ -117,6 +121,10 @@ void StaticMarkingVisitor<StaticVisitor>::Initialize() { |
&FixedBodyVisitor<StaticVisitor, ConsString::BodyDescriptor, |
void>::Visit); |
+ table_.Register(kVisitThinString, |
+ &FixedBodyVisitor<StaticVisitor, ThinString::BodyDescriptor, |
+ void>::Visit); |
+ |
table_.Register(kVisitSlicedString, |
&FixedBodyVisitor<StaticVisitor, SlicedString::BodyDescriptor, |
void>::Visit); |