public class NLinearRegisterAllocator extends NRegisterAllocator
cfg
Constructor and Description |
---|
NLinearRegisterAllocator(NControlFlowGraph cfg)
Construct a linear register allocator for the given control flow graph.
|
Modifier and Type | Method and Description |
---|---|
void |
allocation()
Perform the linear register allocation, assigning physical registers to
virtual registers.
|
buildIntervals
public NLinearRegisterAllocator(NControlFlowGraph cfg)
cfg
- the control flow graph instance.public void allocation()
allocation
in class NRegisterAllocator