blob: ed02708ea3a78ece881beb6800a339aab28ba5ed [file]
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
#pragma once
namespace Js
{
class WasmLibrary
{
public:
static JavascriptMethod WasmDeferredParseEntryPoint(AsmJsScriptFunction** funcPtr, int internalCall);
static void SetWasmEntryPointToInterpreter(Js::ScriptFunction* func, bool deferParse);
#ifdef ENABLE_WASM
static Var WasmLazyTrapCallback(RecyclableObject *callee, CallInfo, ...);
static Var WasmDeferredParseInternalThunk(RecyclableObject* function, CallInfo callInfo, ...);
static Var WasmDeferredParseExternalThunk(RecyclableObject* function, CallInfo callInfo, ...);
#endif
};
}