MeloNX/src/Ryujinx.Cpu/LightningJit/CompiledFunction.cs
2023-12-24 12:34:01 -03:00

16 lines
372 B
C#

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;
}
}
}