Package iota
Class NGraphRegisterAllocator
java.lang.Object
iota.NRegisterAllocator
iota.NGraphRegisterAllocator
A register allocator that uses the graph coloring algorithm to allocate physical registers to virtual registers.
-
Field Summary
Fields inherited from class iota.NRegisterAllocator
cfg
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an NGraphRegisterAllocator object. -
Method Summary
-
Constructor Details
-
NGraphRegisterAllocator
Constructs an NGraphRegisterAllocator object.- Parameters:
cfg
- control flow graph for the method.
-
-
Method Details
-
run
public void run()Allocates physical registers to virtual registers.- Specified by:
run
in classNRegisterAllocator
-