19 lines
528 B
C#
19 lines
528 B
C#
|
namespace ARMeilleure.CodeGen.RegisterAllocators
|
||
|
{
|
||
|
struct AllocationResult
|
||
|
{
|
||
|
public int IntUsedRegisters { get; }
|
||
|
public int VecUsedRegisters { get; }
|
||
|
public int SpillRegionSize { get; }
|
||
|
|
||
|
public AllocationResult(
|
||
|
int intUsedRegisters,
|
||
|
int vecUsedRegisters,
|
||
|
int spillRegionSize)
|
||
|
{
|
||
|
IntUsedRegisters = intUsedRegisters;
|
||
|
VecUsedRegisters = vecUsedRegisters;
|
||
|
SpillRegionSize = spillRegionSize;
|
||
|
}
|
||
|
}
|
||
|
}
|