diff options
Diffstat (limited to 'Source/JavaScriptCore/ftl/FTLThunks.h')
-rw-r--r-- | Source/JavaScriptCore/ftl/FTLThunks.h | 17 |
1 files changed, 3 insertions, 14 deletions
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 <wtf/Platform.h> +#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<typename KeyTypeArgument> @@ -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<Location> m_osrExitThunks; ThunkMap<SlowPathCallKey> m_slowPathCallThunks; }; } } // namespace JSC::FTL #endif // ENABLE(FTL_JIT) - -#endif // FTLTHunks_h |