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 --- .../bytecode/LazyOperandValueProfile.h | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'Source/JavaScriptCore/bytecode/LazyOperandValueProfile.h') diff --git a/Source/JavaScriptCore/bytecode/LazyOperandValueProfile.h b/Source/JavaScriptCore/bytecode/LazyOperandValueProfile.h index 95ef941cd..9c3b06842 100644 --- a/Source/JavaScriptCore/bytecode/LazyOperandValueProfile.h +++ b/Source/JavaScriptCore/bytecode/LazyOperandValueProfile.h @@ -23,15 +23,13 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef LazyOperandValueProfile_h -#define LazyOperandValueProfile_h +#pragma once -#include "ConcurrentJITLock.h" +#include "ConcurrentJSLock.h" #include "ValueProfile.h" #include "VirtualRegister.h" #include #include -#include #include namespace JSC { @@ -154,14 +152,14 @@ public: CompressedLazyOperandValueProfileHolder(); ~CompressedLazyOperandValueProfileHolder(); - void computeUpdatedPredictions(const ConcurrentJITLocker&); + void computeUpdatedPredictions(const ConcurrentJSLocker&); LazyOperandValueProfile* add( - const ConcurrentJITLocker&, const LazyOperandValueProfileKey& key); + const ConcurrentJSLocker&, const LazyOperandValueProfileKey& key); private: friend class LazyOperandValueProfileParser; - OwnPtr m_data; + std::unique_ptr m_data; }; class LazyOperandValueProfileParser { @@ -171,19 +169,15 @@ public: ~LazyOperandValueProfileParser(); void initialize( - const ConcurrentJITLocker&, CompressedLazyOperandValueProfileHolder& holder); + const ConcurrentJSLocker&, CompressedLazyOperandValueProfileHolder& holder); LazyOperandValueProfile* getIfPresent( const LazyOperandValueProfileKey& key) const; SpeculatedType prediction( - const ConcurrentJITLocker&, const LazyOperandValueProfileKey& key) const; + const ConcurrentJSLocker&, const LazyOperandValueProfileKey& key) const; private: HashMap m_map; }; } // namespace JSC - -#endif // LazyOperandValueProfile_h - - -- cgit v1.2.1