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) TableInstance.instance(int index) WasmException.instance()Store.instantiate(String name, 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 with parameters of type InstanceModifier and TypeMethodDescriptionlong[]protected voidInterpreterMachine.eval(MStack stack, Instance instance, Deque<StackFrame> callStack) protected voidInterpreterMachine.evalDefault(MStack stack, Instance instance, Deque<StackFrame> callStack, Instruction instruction, InterpreterMachine.Operands operands) intvoidByteArrayMemory.initialize(Instance instance, DataSegment[] dataSegments) voidByteBufferMemory.initialize(Instance instance, DataSegment[] dataSegments) voidMemory.initialize(Instance instance, 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) 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) WasmException(Instance instance, int tagIdx, long[] args)