[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / JavaScriptCore / bytecode / DeferredCompilationCallback.cpp
index 4f48a1d..4fb1157 100644 (file)
@@ -50,7 +50,7 @@ void DeferredCompilationCallback::compilationDidComplete(CodeBlock*, CodeBlock*,
 Vector<DeferredSourceDump>& DeferredCompilationCallback::ensureDeferredSourceDump()
 {
     if (!m_deferredSourceDump)
-        m_deferredSourceDump = std::make_unique<Vector<DeferredSourceDump>>();
+        m_deferredSourceDump = makeUnique<Vector<DeferredSourceDump>>();
     return *m_deferredSourceDump;
 }