Cosmos/source2/IL2CPU/Cosmos.IL2CPU/ILOpCodes/OpSig.cs
mterwoord_cp b0b69b79db
2014-07-15 12:28:38 +00:00

33 lines
874 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cosmos.IL2CPU.ILOpCodes {
public class OpSig : ILOpCode {
public readonly Int32 Value;
public OpSig(Code aOpCode, int aPos, int aNextPos, Int32 aValue, System.Reflection.ExceptionHandlingClause aCurrentExceptionHandler)
: base(aOpCode, aPos, aNextPos, aCurrentExceptionHandler) {
Value = aValue;
}
public override int GetNumberOfStackPops()
{
switch (OpCode)
{
default:
throw new NotImplementedException("OpCode '" + OpCode + "' not implemented!");
}
}
public override int GetNumberOfStackPushes()
{
switch (OpCode)
{
default:
throw new NotImplementedException("OpCode '" + OpCode + "' not implemented!");
}
}
}
}