Package jminusminus
Class NLinearRegisterAllocator
java.lang.Object
jminusminus.NRegisterAllocator
jminusminus.NLinearRegisterAllocator
Implements register allocation using linear scan algorithm.
- 
Field SummaryFields inherited from class jminusminus.NRegisterAllocatorcfg
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs an NLinearRegisterAllocator object.
- 
Method SummaryModifier and TypeMethodDescriptionvoidThe work horse that does the allocation, implemented in the sub-classes of this class.Methods inherited from class jminusminus.NRegisterAllocatorbuildIntervals, preprocess, writeLivenessInfoToStdOut
- 
Constructor Details- 
NLinearRegisterAllocatorConstructs an NLinearRegisterAllocator object.- Parameters:
- cfg- an instance of a control flow graph.
 
 
- 
- 
Method Details- 
allocationpublic void allocation()The work horse that does the allocation, implemented in the sub-classes of this class.- Specified by:
- allocationin class- NRegisterAllocator
 
 
-