Skip to content

Commit

Permalink
Merge pull request #6911 from dchopra001/ramMethodRemote
Browse files Browse the repository at this point in the history
Use correct query to get RAM Method for remote compilations
  • Loading branch information
mpirvu authored Oct 1, 2019
2 parents 9892039 + 8379a24 commit cac1561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/compiler/z/codegen/S390J9CallSnippet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ TR::S390J9CallSnippet::emitSnippetBody()
}
else
{
uintptrj_t ramMethod = (uintptr_t)methodSymbol->getMethodAddress();
uintptrj_t ramMethod = (uintptrj_t)methodSymRef->getSymbol()->castToResolvedMethodSymbol()->getResolvedMethod()->getPersistentIdentifier();
*(uintptrj_t *) cursor = ramMethod;
if (comp->getOption(TR_EnableHCR))
cg()->jitAddPicToPatchOnClassRedefinition((void *)methodSymbol->getMethodAddress(), (void *)cursor);
Expand Down

0 comments on commit cac1561

Please sign in to comment.