Cosmos/source2/IL2PCU/Cosmos.IL2CPU/ILOpCode/Leave.cs
kudzu_cp 8f662cb3a6
2009-07-23 15:23:25 +00:00

32 lines
778 B
C#

using System;
namespace Cosmos.IL2CPU.ILOpCodes
{
[Cosmos.IL2CPU.OpCode(ILOp.Code.Leave)]
public class Leave: ILOpCode
{
#region Old code
// using System;
// using System.IO;
//
//
// using CPU = Indy.IL2CPU.Assembler.X86;
//
// namespace Indy.IL2CPU.IL.X86 {
// [Cosmos.IL2CPU.OpCode(ILOp.Code.Leave)]
// public class Leave: ILOpCode {public readonly string TargetLabel;
// public Leave(ILReader aReader, MethodInformation aMethodInfo)
// : base(aReader, aMethodInfo) {
// TargetLabel = GetInstructionLabel(aReader.OperandValueBranchPosition);
// }
// public override void DoAssemble() {
// new CPU.Jump { DestinationLabel = TargetLabel };
// }
// }
// }
#endregion
}
}