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 committed May 27, 2019
1 parent 9b8a228 commit b758e8d
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 b758e8d

Please sign in to comment.