Index: src/heap/objects-visiting.cc |
diff --git a/src/heap/objects-visiting.cc b/src/heap/objects-visiting.cc |
index 22d3aba7ec6cc0a1aeac9db70a3fc31705e739fc..f6f5d255d722a03ab47f51052583d7add31cab5e 100644 |
--- a/src/heap/objects-visiting.cc |
+++ b/src/heap/objects-visiting.cc |
@@ -137,6 +137,7 @@ StaticVisitorBase::VisitorId StaticVisitorBase::GetVisitorId( |
case JS_SET_ITERATOR_TYPE: |
case JS_MAP_ITERATOR_TYPE: |
case JS_ITERATOR_RESULT_TYPE: |
+ case JS_PROMISE_TYPE: |
return GetVisitorIdForSize(kVisitJSObject, kVisitJSObjectGeneric, |
instance_size, has_unboxed_fields); |