Skip to content

Commit

Permalink
Fix function calls to incRefCountForOpaquePseudoRegister in OpenJ9
Browse files Browse the repository at this point in the history
This commit changes all function calls to
incRefCountForOpaquePseudoRegister with the fewer parameter overload
version. This is step 3 / 6.

Issue: eclipse-omr#1855
Signed-off-by: Bohao(Aaron) Wang <[email protected]>
  • Loading branch information
wbh123456 authored and andrewrgao committed Jun 5, 2019
1 parent 56836d4 commit adf4b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/z/codegen/OMRMemoryReference.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ void ArtificiallyInflateReferenceCountWhenNecessary(TR::MemoryReference * mr, co
cg->incReferenceCount(nodeArray[i]);

// Reference count is now 2.
cg->incRefCountForOpaquePseudoRegister(nodeArray[i], cg, comp);
cg->incRefCountForOpaquePseudoRegister(nodeArray[i]);
}
else
{
Expand Down

0 comments on commit adf4b76

Please sign in to comment.