[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / JavaScriptCore / runtime / ScriptExecutable.cpp
index 237d7de..ee6e18c 100644 (file)
@@ -469,7 +469,7 @@ auto ScriptExecutable::ensureTemplateObjectMapImpl(std::unique_ptr<TemplateObjec
 {
     if (dest)
         return *dest;
-    auto result = std::make_unique<TemplateObjectMap>();
+    auto result = makeUnique<TemplateObjectMap>();
     WTF::storeStoreFence();
     dest = WTFMove(result);
     return *dest;