[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / JavaScriptCore / runtime / FunctionRareData.h
index 4623641..52b28b1 100644 (file)
@@ -156,7 +156,7 @@ private:
 inline Watchpoint* FunctionRareData::createAllocationProfileClearingWatchpoint()
 {
     RELEASE_ASSERT(!hasAllocationProfileClearingWatchpoint());
-    m_allocationProfileClearingWatchpoint = std::make_unique<AllocationProfileClearingWatchpoint>(this);
+    m_allocationProfileClearingWatchpoint = makeUnique<AllocationProfileClearingWatchpoint>(this);
     return m_allocationProfileClearingWatchpoint.get();
 }