Skip to content

Commit

Permalink
Revert "Add OMR::Power::Machine::getPPCRealRegister()"
Browse files Browse the repository at this point in the history
This reverts commit 1489c07.

The wrapper methods 'getXXXRealRegister()' is not required since all
uses of the methods are changed to the 'getRealRegister()' one.

Signed-off-by: Pavel Samolysov <[email protected]>
  • Loading branch information
samolisov committed Dec 14, 2018
1 parent 8e1022e commit 4dadfeb
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions compiler/p/codegen/OMRMachine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,6 @@ class OMR_EXTENSIBLE Machine : public OMR::Machine
TR::Register *setVirtualAssociatedWithReal(TR::RealRegister::RegNum regNum, TR::Register * virtReg);
TR::Register *getVirtualAssociatedWithReal(TR::RealRegister::RegNum regNum);

/**
* @brief This method is the wrapper for \code getRealRegister.
* @param[in] regNum : register number
* @return RealRegister for specified register number
*/
TR::RealRegister *getPPCRealRegister(TR::RealRegister::RegNum regNum)
{
return _registerFile[regNum];
}

TR::RealRegister *findBestFreeRegister(TR::Instruction *currentInstruction,
TR_RegisterKinds rk,
bool excludeGPR0 = false,
Expand Down

0 comments on commit 4dadfeb

Please sign in to comment.