public class RegisterAllocator
extends java.lang.Object
LocalVariable| Constructor | Description |
|---|---|
RegisterAllocator(FlowGraph cfg,
Liveness liveness) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
maxLocals() |
Returns the maximum number of local variables used by the cfg after its
"registers" (local variables) have been allocated.
|
LocalVariable |
newLocal(Type type) |
Creates a new local variable in this method (as modeled by the cfg).
|
public RegisterAllocator(FlowGraph cfg, Liveness liveness)
FlowGraph,
LocalVariablepublic int maxLocals()
public LocalVariable newLocal(Type type)