Cosmos/source/Cosmos.IL2CPU/ILOpCodes/OpSig.cs
José Pedro 3db5ce43bb Compiler fixes.
Compiler fixes.
Updated project.json files.
Removed *.lock.json files and updated gitignore to ignore them.
Updated some Cosmos.Debug projects.
2017-01-08 14:54:29 +00:00

32 lines
864 B
C#

using System;
using System.Reflection;
using System.Reflection.Metadata;
namespace Cosmos.IL2CPU.ILOpCodes {
public class OpSig : ILOpCode {
public readonly int Value;
public OpSig(Code aOpCode, int aPos, int aNextPos, int aValue, ExceptionRegion aCurrentExceptionRegion)
: base(aOpCode, aPos, aNextPos, aCurrentExceptionRegion) {
Value = aValue;
}
public override int GetNumberOfStackPops(MethodBase aMethod)
{
switch (OpCode)
{
default:
throw new NotImplementedException("OpCode '" + OpCode + "' not implemented!");
}
}
public override int GetNumberOfStackPushes(MethodBase aMethod)
{
switch (OpCode)
{
default:
throw new NotImplementedException("OpCode '" + OpCode + "' not implemented!");
}
}
}
}