Index: src/objects-visiting.cc |
diff --git a/src/objects-visiting.cc b/src/objects-visiting.cc |
index 20a7b317018b19fd62039a85b22240578ae46e3a..a796283e2ff5672af994dca3d350a73c10672919 100644 |
--- a/src/objects-visiting.cc |
+++ b/src/objects-visiting.cc |
@@ -94,6 +94,16 @@ StaticVisitorBase::VisitorId StaticVisitorBase::GetVisitorId( |
case JS_GLOBAL_PROPERTY_CELL_TYPE: |
return kVisitPropertyCell; |
+ case JS_SET_TYPE: |
+ return GetVisitorIdForSize(kVisitStruct, |
+ kVisitStructGeneric, |
+ JSSet::kSize); |
+ |
+ case JS_MAP_TYPE: |
+ return GetVisitorIdForSize(kVisitStruct, |
+ kVisitStructGeneric, |
+ JSMap::kSize); |
+ |
case JS_WEAK_MAP_TYPE: |
return kVisitJSWeakMap; |