Skip to content

Commit

Permalink
Overload function void incRefCountForOpaquePseudoRegister in OMR
Browse files Browse the repository at this point in the history
This patch adds an overload function of
incRefCountForOpaquePseudoRegister but with less parameters. This is the
first step out 6 steps to simpify function
incRefCountForOpaquePseudoRegister.

Issue: eclipse-omr#1855
Signed-off-by: Bohao(Aaron) Wang <[email protected]>
  • Loading branch information
wbh123456 committed May 24, 2019
1 parent 051896b commit f0286be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compiler/codegen/OMRCodeGenerator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,10 @@ class OMR_EXTENSIBLE CodeGenerator
rcount_t recursivelyDecReferenceCount(TR::Node*node);
void evaluateChildrenWithMultipleRefCount(TR::Node*node);


void incRefCountForOpaquePseudoRegister(TR::Node * node, TR::CodeGenerator * cg, TR::Compilation * comp) {}
//OVERLOAD THE ABOVE FUNCTION:
void incRefCountForOpaquePseudoRegister(TR::Node * node) {}

void startUsingRegister(TR::Register *reg);
void stopUsingRegister(TR::Register *reg);
Expand Down

0 comments on commit f0286be

Please sign in to comment.