Index: src/heap/scavenger.cc |
diff --git a/src/heap/scavenger.cc b/src/heap/scavenger.cc |
index 3f532ead6265f0f07d8530a1696c7f5f35bf5d43..1d785d08d24232388be4d45603d68f9da313c22a 100644 |
--- a/src/heap/scavenger.cc |
+++ b/src/heap/scavenger.cc |
@@ -78,6 +78,10 @@ class ScavengingVisitor : public StaticVisitorBase { |
table_.RegisterSpecializations<ObjectEvacuationStrategy<POINTER_OBJECT>, |
kVisitJSObject, kVisitJSObjectGeneric>(); |
+ table_ |
+ .RegisterSpecializations<ObjectEvacuationStrategy<POINTER_OBJECT>, |
+ kVisitJSApiObject, kVisitJSApiObjectGeneric>(); |
+ |
table_.RegisterSpecializations<ObjectEvacuationStrategy<POINTER_OBJECT>, |
kVisitStruct, kVisitStructGeneric>(); |
} |