diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/JavaScriptCore/ftl/FTLThunks.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
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 |