Index: src/objects-visiting.h |
diff --git a/src/objects-visiting.h b/src/objects-visiting.h |
index cc64763b5f5ff9c85e38d9ad325c32c01f0f517e..8e079abb0c8d4140191c5f3b3ff1337905832bbc 100644 |
--- a/src/objects-visiting.h |
+++ b/src/objects-visiting.h |
@@ -115,6 +115,7 @@ class StaticVisitorBase : public AllStatic { |
kVisitStructGeneric, |
kVisitConsString, |
+ kVisitSlicedString, |
kVisitOddball, |
kVisitCode, |
kVisitMap, |
@@ -298,6 +299,11 @@ class StaticNewSpaceVisitor : public StaticVisitorBase { |
ConsString::BodyDescriptor, |
int>::Visit); |
+ table_.Register(kVisitSlicedString, |
+ &FixedBodyVisitor<StaticVisitor, |
+ SlicedString::BodyDescriptor, |
+ int>::Visit); |
+ |
table_.Register(kVisitFixedArray, |
&FlexibleBodyVisitor<StaticVisitor, |
FixedArray::BodyDescriptor, |