Index: src/objects-visiting-inl.h |
diff --git a/src/objects-visiting-inl.h b/src/objects-visiting-inl.h |
index 29abbe2e9f36a9109cb9ea5898c90ce2a52d4aa2..9398d6dfeaa975d8ac821b0c6fea978c9c4ac0a3 100644 |
--- a/src/objects-visiting-inl.h |
+++ b/src/objects-visiting-inl.h |
@@ -89,6 +89,8 @@ void StaticNewSpaceVisitor<StaticVisitor>::Initialize() { |
table_.Register(kVisitJSWeakMap, &JSObjectVisitor::Visit); |
+ table_.Register(kVisitJSWeakSet, &JSObjectVisitor::Visit); |
+ |
table_.Register(kVisitJSRegExp, &JSObjectVisitor::Visit); |
table_.template RegisterSpecializations<DataObjectVisitor, |
@@ -198,7 +200,9 @@ void StaticMarkingVisitor<StaticVisitor>::Initialize() { |
table_.Register(kVisitSeqTwoByteString, &DataObjectVisitor::Visit); |
- table_.Register(kVisitJSWeakMap, &StaticVisitor::VisitJSWeakMap); |
+ table_.Register(kVisitJSWeakMap, &StaticVisitor::VisitWeakCollection); |
+ |
+ table_.Register(kVisitJSWeakSet, &StaticVisitor::VisitWeakCollection); |
table_.Register(kVisitOddball, |
&FixedBodyVisitor<StaticVisitor, |