Uses of Class
com.dylibso.chicory.runtime.Instance
Packages that use Instance
-
Uses of Instance in com.dylibso.chicory.runtime
Methods in com.dylibso.chicory.runtime that return InstanceModifier and TypeMethodDescriptionInstance.Builder.build()GlobalInstance.getInstance()Instance.initialize(boolean start) protected InstanceInterpreterMachine.instance()TableInstance.instance(int index) WasmException.instance()Store.instantiate(String name, com.dylibso.chicory.wasm.WasmModule m) A shorthand for instantiating a module and registering it in the store.Store.instantiate(String name, Function<ImportValues, Instance> instanceFactory) Creates an instance with the given factory and registers the result in the store.Methods in com.dylibso.chicory.runtime that return types with arguments of type InstanceMethods in com.dylibso.chicory.runtime with parameters of type InstanceModifier and TypeMethodDescriptionlong[]protected long[]InterpreterMachine.call(MStack stack, Instance instance, Deque<StackFrame> callStack, int funcId, long[] args, com.dylibso.chicory.wasm.types.FunctionType callType, boolean popResults) protected voidInterpreterMachine.eval(MStack stack, Instance instance, Deque<StackFrame> callStack) protected voidInterpreterMachine.evalDefault(MStack stack, Instance instance, Deque<StackFrame> callStack, com.dylibso.chicory.wasm.types.Instruction instruction, InterpreterMachine.Operands operands) intvoidByteArrayMemory.initialize(Instance instance, com.dylibso.chicory.wasm.types.DataSegment[] dataSegments) voidByteBufferMemory.initialize(Instance instance, com.dylibso.chicory.wasm.types.DataSegment[] dataSegments) voidMemory.initialize(Instance instance, com.dylibso.chicory.wasm.types.DataSegment[] dataSegments) Register an instance in the store with the given name.voidGlobalInstance.setInstance(Instance instance) voidstatic voidOpcodeImpl.TABLE_COPY(Instance instance, int srcTableIndex, int dstTableIndex, int size, int s, int d) static voidOpcodeImpl.TABLE_FILL(Instance instance, int tableIndex, int size, int value, int offset) static intstatic voidOpcodeImpl.TABLE_INIT(Instance instance, int tableidx, int elementidx, int size, int elemidx, int offset) protected static StackFrameInterpreterMachine.THROW_REF(Instance instance, int exceptionIdx, MStack stack, StackFrame frame, Deque<StackFrame> callStack) protected booleanInterpreterMachine.useCurrentInstanceInterpreter(Instance instance, Instance refInstance, int funcId) Method parameters in com.dylibso.chicory.runtime with type arguments of type InstanceModifier and TypeMethodDescriptionStore.instantiate(String name, Function<ImportValues, Instance> instanceFactory) Creates an instance with the given factory and registers the result in the store.Instance.Builder.withMachineFactory(Function<Instance, Machine> machineFactory) Constructors in com.dylibso.chicory.runtime with parameters of type InstanceModifierConstructorDescriptionInterpreterMachine(Instance instance) StackFrame(Instance instance, int funcId, long[] args) WasmException(Instance instance, int tagIdx, long[] args) -
Uses of Instance in com.dylibso.chicory.runtime.internal
Methods in com.dylibso.chicory.runtime.internal with parameters of type InstanceModifier and TypeMethodDescriptionprotected long[]CompilerInterpreterMachine.call(MStack stack, Instance instance, Deque<StackFrame> callStack, int funcId, long[] args, com.dylibso.chicory.wasm.types.FunctionType callType, boolean popResults) protected booleanCompilerInterpreterMachine.useCurrentInstanceInterpreter(Instance instance, Instance refInstance, int funcId) Constructors in com.dylibso.chicory.runtime.internal with parameters of type InstanceModifierConstructorDescriptionCompilerInterpreterMachine(Instance instance, int[] interpretedFuncIds)