]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - ftl/FTLFail.cpp
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / ftl / FTLFail.cpp
index 1345c6fa13ed4afd0344af9723b79be331bd6810..ac2fc07eba1e43cdc0c42aea138e5c6e380a4593 100644 (file)
@@ -38,7 +38,7 @@ using namespace DFG;
 
 void fail(State& state)
 {
-    state.graph.m_plan.finalizer = adoptPtr(new FailedFinalizer(state.graph.m_plan));
+    state.graph.m_plan.finalizer = std::make_unique<FailedFinalizer>(state.graph.m_plan);
     
     if (state.module)
         llvm->DisposeModule(state.module);