diff options
Diffstat (limited to 'Source/JavaScriptCore/llint/LLIntThunks.h')
-rw-r--r-- | Source/JavaScriptCore/llint/LLIntThunks.h | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/Source/JavaScriptCore/llint/LLIntThunks.h b/Source/JavaScriptCore/llint/LLIntThunks.h index 8a894aa41..fc9742c42 100644 --- a/Source/JavaScriptCore/llint/LLIntThunks.h +++ b/Source/JavaScriptCore/llint/LLIntThunks.h @@ -23,30 +23,23 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef LLIntThunks_h -#define LLIntThunks_h - -#include <wtf/Platform.h> - -#if ENABLE(LLINT) +#pragma once #include "MacroAssemblerCodeRef.h" namespace JSC { -class ExecState; -class Register; class VM; struct ProtoCallFrame; +typedef int64_t EncodedJSValue; extern "C" { - EncodedJSValue callToJavaScript(void*, ExecState**, ProtoCallFrame*, Register*); - EncodedJSValue callToNativeFunction(void*, ExecState**, ProtoCallFrame*, Register*); -#if ENABLE(JIT) - void returnFromJavaScript(); -#endif + EncodedJSValue vmEntryToJavaScript(void*, VM*, ProtoCallFrame*); + EncodedJSValue vmEntryToNative(void*, VM*, ProtoCallFrame*); } +EncodedJSValue JS_EXPORT_PRIVATE vmEntryToWasm(void*, VM*, ProtoCallFrame*); + namespace LLInt { MacroAssemblerCodeRef functionForCallEntryThunkGenerator(VM*); @@ -55,9 +48,6 @@ MacroAssemblerCodeRef functionForCallArityCheckThunkGenerator(VM*); MacroAssemblerCodeRef functionForConstructArityCheckThunkGenerator(VM*); MacroAssemblerCodeRef evalEntryThunkGenerator(VM*); MacroAssemblerCodeRef programEntryThunkGenerator(VM*); +MacroAssemblerCodeRef moduleProgramEntryThunkGenerator(VM*); } } // namespace JSC::LLInt - -#endif // ENABLE(LLINT) - -#endif // LLIntThunks_h |