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/ftl/FTLThunks.h | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'Source/JavaScriptCore/ftl/FTLThunks.h') diff --git a/Source/JavaScriptCore/ftl/FTLThunks.h b/Source/JavaScriptCore/ftl/FTLThunks.h index bbcdbddc9..33e3b021b 100644 --- a/Source/JavaScriptCore/ftl/FTLThunks.h +++ b/Source/JavaScriptCore/ftl/FTLThunks.h @@ -23,10 +23,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef FTLThunks_h -#define FTLThunks_h - -#include +#pragma once #if ENABLE(FTL_JIT) @@ -41,7 +38,8 @@ class VM; namespace FTL { -MacroAssemblerCodeRef osrExitGenerationThunkGenerator(VM&, const Location&); +MacroAssemblerCodeRef osrExitGenerationThunkGenerator(VM*); +MacroAssemblerCodeRef lazySlowPathGenerationThunkGenerator(VM*); MacroAssemblerCodeRef slowPathCallThunkGenerator(VM&, const SlowPathCallKey&); template @@ -78,12 +76,6 @@ typename MapType::KeyType keyForThunk(MapType& map, MacroAssemblerCodePtr ptr) class Thunks { public: - MacroAssemblerCodeRef getOSRExitGenerationThunk(VM& vm, const Location& location) - { - return generateIfNecessary( - vm, m_osrExitThunks, location, osrExitGenerationThunkGenerator); - } - MacroAssemblerCodeRef getSlowPathCallThunk(VM& vm, const SlowPathCallKey& key) { return generateIfNecessary( @@ -96,12 +88,9 @@ public: } private: - ThunkMap m_osrExitThunks; ThunkMap m_slowPathCallThunks; }; } } // namespace JSC::FTL #endif // ENABLE(FTL_JIT) - -#endif // FTLTHunks_h -- cgit v1.2.1