X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..refs/heads/master:/bytecode/LazyOperandValueProfile.cpp diff --git a/bytecode/LazyOperandValueProfile.cpp b/bytecode/LazyOperandValueProfile.cpp index e58420e..de654db 100644 --- a/bytecode/LazyOperandValueProfile.cpp +++ b/bytecode/LazyOperandValueProfile.cpp @@ -46,7 +46,7 @@ LazyOperandValueProfile* CompressedLazyOperandValueProfileHolder::add( const ConcurrentJITLocker&, const LazyOperandValueProfileKey& key) { if (!m_data) - m_data = adoptPtr(new LazyOperandValueProfile::List()); + m_data = std::make_unique(); else { for (unsigned i = 0; i < m_data->size(); ++i) { if (m_data->at(i).key() == key)