WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(I64ShlOpcode opcode, WasmMSILArg arg) { arg.IL.Emit(OpCodes.Shl); return(null); }
WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(I32WrapI64Opcode opcode, WasmMSILArg arg) { return(null); }
WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(I64ExtendUI32Opcode opcode, WasmMSILArg arg) { return(null); }
WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(EndOpcode opcode, WasmMSILArg arg) { arg.IL.Emit(OpCodes.Ret); //todo: finalize current block return(null); }
WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(UnreachableOpcode opcode, WasmMSILArg arg) => throw new NotImplementedException();
WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(BlockOpcode opcode, WasmMSILArg arg) { return(null); }
WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(CallIndirectOpcode opcode, WasmMSILArg arg) => throw new NotImplementedException();
WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(GetLocalOpcode opcode, WasmMSILArg arg) { arg.IL.Emit(OpCodes.Ldarg, opcode.LocalIndex); return(null); }
WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(SetGlobalOpcode opcode, WasmMSILArg arg) => throw new NotImplementedException();
WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(I32ConstOpcode opcode, WasmMSILArg arg) { arg.IL.Emit(OpCodes.Ldc_I4, opcode.Value); return(null); }