We should support CreateThis in the FTL
[WebKit-https.git] / Source / JavaScriptCore / dfg / DFGWorklist.cpp
index daf8544..68f6aac 100644 (file)
@@ -403,8 +403,10 @@ void Worklist::removeDeadPlans(VM& vm)
             Plan* plan = iter->value.get();
             if (plan->vm != &vm)
                 continue;
-            if (plan->isKnownToBeLiveDuringGC())
+            if (plan->isKnownToBeLiveDuringGC()) {
+                plan->finalizeInGC();
                 continue;
+            }
             RELEASE_ASSERT(plan->stage != Plan::Cancelled); // Should not be cancelled, yet.
             ASSERT(!deadPlanKeys.contains(plan->key()));
             deadPlanKeys.add(plan->key());