WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(I64ShlOpcode opcode, WasmMSILArg arg)
 {
     arg.IL.Emit(OpCodes.Shl);
     return(null);
 }
예제 #2
0
 WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(I32WrapI64Opcode opcode, WasmMSILArg arg)
 {
     return(null);
 }
예제 #3
0
 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);
 }
예제 #7
0
 WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(CallIndirectOpcode opcode, WasmMSILArg arg) => throw new NotImplementedException();
예제 #8
0
 WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(GetLocalOpcode opcode, WasmMSILArg arg)
 {
     arg.IL.Emit(OpCodes.Ldarg, opcode.LocalIndex);
     return(null);
 }
예제 #9
0
 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);
 }