public class WebAssemblyHostFunction extends Object implements com.oracle.truffle.api.interop.TruffleObject
| Constructor and Description |
|---|
WebAssemblyHostFunction(Object fn,
WasmFunctionTypeInfo type) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Object[] args,
com.oracle.truffle.api.nodes.Node node,
ToWebAssemblyValueNode toWebAssemblyValueNode,
ToJSValueNode toJSValueNode,
JSFunctionCallNode callNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch,
GetIteratorNode getIteratorNode,
IterableToListNode iterableToListNode,
com.oracle.truffle.api.interop.InteropLibrary self) |
static boolean |
isExecutable(WebAssemblyHostFunction receiver) |
public WebAssemblyHostFunction(Object fn, WasmFunctionTypeInfo type)
public static final boolean isExecutable(WebAssemblyHostFunction receiver)
public final Object execute(Object[] args, com.oracle.truffle.api.nodes.Node node, ToWebAssemblyValueNode toWebAssemblyValueNode, ToJSValueNode toJSValueNode, JSFunctionCallNode callNode, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch, GetIteratorNode getIteratorNode, IterableToListNode iterableToListNode, com.oracle.truffle.api.interop.InteropLibrary self)