From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/JavaScriptCore/bytecode/LazyOperandValueProfile.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Source/JavaScriptCore/bytecode/LazyOperandValueProfile.cpp') diff --git a/Source/JavaScriptCore/bytecode/LazyOperandValueProfile.cpp b/Source/JavaScriptCore/bytecode/LazyOperandValueProfile.cpp index a8ad779ac..0929d6fb4 100644 --- a/Source/JavaScriptCore/bytecode/LazyOperandValueProfile.cpp +++ b/Source/JavaScriptCore/bytecode/LazyOperandValueProfile.cpp @@ -26,14 +26,14 @@ #include "config.h" #include "LazyOperandValueProfile.h" -#include "Operations.h" +#include "JSCInlines.h" namespace JSC { CompressedLazyOperandValueProfileHolder::CompressedLazyOperandValueProfileHolder() { } CompressedLazyOperandValueProfileHolder::~CompressedLazyOperandValueProfileHolder() { } -void CompressedLazyOperandValueProfileHolder::computeUpdatedPredictions(const ConcurrentJITLocker& locker) +void CompressedLazyOperandValueProfileHolder::computeUpdatedPredictions(const ConcurrentJSLocker& locker) { if (!m_data) return; @@ -43,10 +43,10 @@ void CompressedLazyOperandValueProfileHolder::computeUpdatedPredictions(const Co } LazyOperandValueProfile* CompressedLazyOperandValueProfileHolder::add( - const ConcurrentJITLocker&, const LazyOperandValueProfileKey& key) + const ConcurrentJSLocker&, 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) @@ -62,7 +62,7 @@ LazyOperandValueProfileParser::LazyOperandValueProfileParser() { } LazyOperandValueProfileParser::~LazyOperandValueProfileParser() { } void LazyOperandValueProfileParser::initialize( - const ConcurrentJITLocker&, CompressedLazyOperandValueProfileHolder& holder) + const ConcurrentJSLocker&, CompressedLazyOperandValueProfileHolder& holder) { ASSERT(m_map.isEmpty()); @@ -87,7 +87,7 @@ LazyOperandValueProfile* LazyOperandValueProfileParser::getIfPresent( } SpeculatedType LazyOperandValueProfileParser::prediction( - const ConcurrentJITLocker& locker, const LazyOperandValueProfileKey& key) const + const ConcurrentJSLocker& locker, const LazyOperandValueProfileKey& key) const { LazyOperandValueProfile* profile = getIfPresent(key); if (!profile) -- cgit v1.2.1