Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index efdb5499d212ef55c16cc214f5a088736d47553e..26fbf443d95cd5d603e10b63d7eb2fd889ebaeb6 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -1292,6 +1292,10 @@ class ScavengingVisitor : public StaticVisitorBase { |
&ObjectEvacuationStrategy<POINTER_OBJECT>:: |
template VisitSpecialized<SharedFunctionInfo::kSize>); |
+ table_.Register(kVisitJSWeakMap, |
+ &ObjectEvacuationStrategy<POINTER_OBJECT>:: |
+ Visit); |
+ |
table_.Register(kVisitJSRegExp, |
&ObjectEvacuationStrategy<POINTER_OBJECT>:: |
Visit); |