aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Translation/ILOpCodeLog.cs
blob: ebb042b5969a21eb4b4eef5947e145a150dc9dfe (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(ILMethodBuilder context)
        {
            context.Generator.EmitWriteLine(_text);
        }
    }
}