Merge pull request #81 from ARMmaster17/master

Added Ldobj OpType handling in IL interpreter.
This commit is contained in:
Matthijs ter Woord 2015-05-07 16:25:11 +02:00
commit c7466b9363

View file

@ -46,6 +46,8 @@ namespace Cosmos.IL2CPU.ILOpCodes {
return 1;
case Code.Stobj:
return 2;
case Code.Ldobj:
return 1;
default:
throw new NotImplementedException("OpCode '" + OpCode + "' not implemented! Encountered in method " + aMethod.ToString());
}
@ -79,6 +81,8 @@ namespace Cosmos.IL2CPU.ILOpCodes {
return 1;
case Code.Stobj:
return 0;
case Code.Ldobj:
return 1;
default:
throw new NotImplementedException("OpCode '" + OpCode + "' not implemented!");
}