summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/ftl/FTLThunks.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/JavaScriptCore/ftl/FTLThunks.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/JavaScriptCore/ftl/FTLThunks.h')
-rw-r--r--Source/JavaScriptCore/ftl/FTLThunks.h17
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