aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Allocators.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ARMeilleure/Allocators.cs')
-rw-r--r--ARMeilleure/Allocators.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/ARMeilleure/Allocators.cs b/ARMeilleure/Allocators.cs
index df762f4c..deabf9a2 100644
--- a/ARMeilleure/Allocators.cs
+++ b/ARMeilleure/Allocators.cs
@@ -10,11 +10,15 @@ namespace ARMeilleure
[ThreadStatic] private static ArenaAllocator _operands;
[ThreadStatic] private static ArenaAllocator _operations;
[ThreadStatic] private static ArenaAllocator _references;
+ [ThreadStatic] private static ArenaAllocator _liveRanges;
+ [ThreadStatic] private static ArenaAllocator _liveIntervals;
public static ArenaAllocator Default => GetAllocator(ref _default, 256 * 1024, 4);
public static ArenaAllocator Operands => GetAllocator(ref _operands, 64 * 1024, 8);
public static ArenaAllocator Operations => GetAllocator(ref _operations, 64 * 1024, 8);
public static ArenaAllocator References => GetAllocator(ref _references, 64 * 1024, 8);
+ public static ArenaAllocator LiveRanges => GetAllocator(ref _liveRanges, 64 * 1024, 8);
+ public static ArenaAllocator LiveIntervals => GetAllocator(ref _liveIntervals, 64 * 1024, 8);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private static ArenaAllocator GetAllocator(ref ArenaAllocator alloc, uint pageSize, uint pageCount)