mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 22:12:25 +00:00
21 lines
553 B
C#
21 lines
553 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.IL2CPU
|
|
{
|
|
public abstract class ILOp
|
|
{
|
|
protected readonly Assembler Assembler;
|
|
protected ILOp( Assembler aAsmblr )
|
|
{
|
|
Assembler = aAsmblr;
|
|
}
|
|
|
|
// This is called execute and not assemble, as the scanner
|
|
// could be used for other things, profiling, analysis, reporting, etc
|
|
public abstract void Execute( MethodInfo aMethod, ILOpCode aOpCode );
|
|
|
|
}
|
|
}
|