Skip to content

Commit

Permalink
Deprecate unused releaseGlobalRegister function
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Jeremic <fjeremic@ca.ibm.com>
  • Loading branch information
fjeremic committed Jul 23, 2018
1 parent b4dde97 commit 2287414
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions compiler/z/codegen/OMRMachine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6700,12 +6700,6 @@ OMR::Z::Machine::initGlobalVectorRegisterMap(uint32_t vectorOffset)
#undef addToGRAMap
}

void
OMR::Z::Machine::releaseGlobalRegister(int32_t globalRegisterTableIndex, TR::RealRegister::RegNum gReg)
{
_globalRegisterNumberToRealRegisterMap[globalRegisterTableIndex] = gReg;
}

int
OMR::Z::Machine::findGlobalRegisterIndex(TR::RealRegister::RegNum gReg)
{
Expand Down
1 change: 0 additions & 1 deletion compiler/z/codegen/OMRMachine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,6 @@ class OMR_EXTENSIBLE Machine : public OMR::Machine

uint32_t *initializeGlobalRegisterTable();
uint32_t initGlobalVectorRegisterMap(uint32_t vectorOffset);
void releaseGlobalRegister(int32_t globalRegisterTableIndex, TR::RealRegister::RegNum gReg);
int32_t findGlobalRegisterIndex(TR::RealRegister::RegNum gReg);

void releaseLiteralPoolRegister(); // free up GPR6
Expand Down

0 comments on commit 2287414

Please sign in to comment.