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