aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Cpu/LightningJit/CompiledFunction.cs
blob: ed375f2208c0069b8538b4b73b611bb643462de4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;

namespace Ryujinx.Cpu.LightningJit
{
    readonly ref struct CompiledFunction
    {
        public readonly ReadOnlySpan<byte> Code;
        public readonly int GuestCodeLength;

        public CompiledFunction(ReadOnlySpan<byte> code, int guestCodeLength)
        {
            Code = code;
            GuestCodeLength = guestCodeLength;
        }
    }
}