mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-14 09:12:54 +01:00
5e0f8e8738
* Implement JIT Arm64 backend * PPTC version bump * Address some feedback from Arm64 JIT PR * Address even more PR feedback * Remove unused IsPageAligned function * Sync Qc flag before calls * Fix comment and remove unused enum * Address riperiperi PR feedback * Delete Breakpoint IR instruction that was only implemented for Arm64
12 lines
400 B
C#
12 lines
400 B
C#
using ARMeilleure.Memory;
|
|
using Ryujinx.Memory;
|
|
|
|
namespace Ryujinx.Cpu.Jit
|
|
{
|
|
public class JitMemoryAllocator : IJitMemoryAllocator
|
|
{
|
|
public IJitMemoryBlock Allocate(ulong size) => new JitMemoryBlock(size, MemoryAllocationFlags.None);
|
|
public IJitMemoryBlock Reserve(ulong size) => new JitMemoryBlock(size, MemoryAllocationFlags.Reserve | MemoryAllocationFlags.Jit);
|
|
}
|
|
}
|