public final class RegisterPool extends GenericRegisterPool
PowerPC specific implementation where JTOC is stored in a reserved register. Each IR contains has exactly one register pool object associated with it.
Register
physical
currentNum
Constructor and Description |
---|
RegisterPool(RVMMethod meth)
Initializes a new register pool for the method meth.
|
Modifier and Type | Method and Description |
---|---|
Register |
getJTOC()
Get the JTOC register
|
Operand |
makeJTOCOp() |
Operand |
makeTocOp() |
getFP, getNumberOfSymbolicRegisters, getPhysicalRegisterSet, getTotalNumberOfRegisters, makeFPOp, makeTROp
getAddress, getCondition, getDouble, getFirstSymbolicRegister, getFloat, getInteger, getLong, getReg, getReg, getReg, getSecondReg, getValidation, makeTemp, makeTemp, makeTemp, makeTempAddress, makeTempBoolean, makeTempCondition, makeTempDouble, makeTempFloat, makeTempInt, makeTempLong, makeTempOffset, makeTempValidation, release, removeRegister
public RegisterPool(RVMMethod meth)
meth
- the RVMMethod of the outermost methodpublic Operand makeJTOCOp()
makeJTOCOp
in class GenericRegisterPool
public Operand makeTocOp()
makeTocOp
in class GenericRegisterPool