Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 24e1d53881dcd2319b596fc34b8212aff0a06898..cf5bdbcc89e0a527af2d5a448a5cfa9d7c769527 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -1920,11 +1920,7 @@ class ScavengingVisitor : public StaticVisitorBase { |
&ObjectEvacuationStrategy<POINTER_OBJECT>:: |
template VisitSpecialized<SharedFunctionInfo::kSize>); |
- table_.Register(kVisitJSWeakMap, |
- &ObjectEvacuationStrategy<POINTER_OBJECT>:: |
- Visit); |
- |
- table_.Register(kVisitJSWeakSet, |
+ table_.Register(kVisitJSWeakCollection, |
&ObjectEvacuationStrategy<POINTER_OBJECT>:: |
Visit); |