Skip to content

Commit

Permalink
Fix AArch64 compile failures
Browse files Browse the repository at this point in the history
`getMethodSnippetsToBePatchedOnClassUnload()` and `getSnippetsToBePatchedOnClassUnload()` have
recently moved to the `CodeGenerator` class.

Signed-off-by: Daryl Maier <maier@ca.ibm.com>
  • Loading branch information
0xdaryl committed Mar 24, 2021
1 parent 0ead163 commit 1a639d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compiler/aarch64/codegen/OMRTreeEvaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ TR::Instruction *loadAddressConstantInSnippet(TR::CodeGenerator *cg, TR::Node *n
{
if (node->isMethodPointerConstant())
{
comp->getMethodSnippetsToBePatchedOnClassUnload()->push_front(snippet);
cg->getMethodSnippetsToBePatchedOnClassUnload()->push_front(snippet);
}
else
{
comp->getSnippetsToBePatchedOnClassUnload()->push_front(snippet);
cg->getSnippetsToBePatchedOnClassUnload()->push_front(snippet);
}
}
return generateTrg1ImmSymInstruction(cg, TR::InstOpCode::ldrx, node, targetRegister, 0, labelSym, cursor);
Expand Down Expand Up @@ -341,7 +341,7 @@ addMetaDataForLoadAddressConstantFixed(TR::CodeGenerator *cg, TR::Node *node, TR
* @param[in] trgReg : target register
* @param[in] cursor : instruction cursor
* @param[in] typeAddress : type of address
*/
*/
static TR::Instruction *
loadAddressConstantRelocatable(TR::CodeGenerator *cg, TR::Node *node, intptr_t value, TR::Register *trgReg, TR::Instruction *cursor=NULL, int16_t typeAddress = -1)
{
Expand Down

0 comments on commit 1a639d3

Please sign in to comment.