mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 14:02:19 +00:00
Merge pull request #81 from ARMmaster17/master
Added Ldobj OpType handling in IL interpreter.
This commit is contained in:
commit
c7466b9363
1 changed files with 4 additions and 0 deletions
|
|
@ -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!");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue