public class NNaiveRegisterAllocator extends NRegisterAllocator
cfg
Constructor and Description |
---|
NNaiveRegisterAllocator(NControlFlowGraph cfg)
Construct a NNaiveRegisterAllocator.
|
Modifier and Type | Method and Description |
---|---|
void |
allocation()
Build intervals with (naive) register allocation information in them.
|
buildIntervals
public NNaiveRegisterAllocator(NControlFlowGraph cfg)
cfg
- an instance of a control flow graph.public void allocation()
allocation
in class NRegisterAllocator