aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Translation/ILOpCodeLog.cs
blob: 2c77021b105a12f368a1d7d7e9f735be36724661 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace ChocolArm64.Translation
{
    struct ILOpCodeLog : IILEmit
    {
        private string _text;

        public ILOpCodeLog(string text)
        {
            _text = text;
        }

        public void Emit(ILEmitter context)
        {
            context.Generator.EmitWriteLine(_text);
        }
    }
}