X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/2d39b0e377c0896910ee49ae70082ba665faf986..ed1e77d3adeb83d26fd1dfb16dd84cabdcefd250:/bytecode/DFGExitProfile.cpp diff --git a/bytecode/DFGExitProfile.cpp b/bytecode/DFGExitProfile.cpp index 73ba88c..40a25ce 100644 --- a/bytecode/DFGExitProfile.cpp +++ b/bytecode/DFGExitProfile.cpp @@ -28,8 +28,6 @@ #if ENABLE(DFG_JIT) -#include - namespace JSC { namespace DFG { ExitProfile::ExitProfile() { } @@ -42,7 +40,7 @@ bool ExitProfile::add(const ConcurrentJITLocker&, const FrequentExitSite& site) // If we've never seen any frequent exits then create the list and put this site // into it. if (!m_frequentExitSites) { - m_frequentExitSites = adoptPtr(new Vector()); + m_frequentExitSites = std::make_unique>(); m_frequentExitSites->append(site); return true; }