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 29, 2019
1 parent b22240c commit a1967c7
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 a1967c7

Please sign in to comment.