Skip to content

Commit

Permalink
Correct the OMR_InlinerPolicy::suitableForRemat() doc comment
Browse files Browse the repository at this point in the history
Now the meaning of the comment matches both the method name and the
apparent use of the method.
  • Loading branch information
jdmpapin committed Aug 15, 2022
1 parent 4c52ff1 commit 9f3964d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions compiler/optimizer/Inliner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6215,10 +6215,11 @@ OMR_InlinerPolicy::checkIfTargetInlineable(TR_CallTarget* target, TR_CallSite* c
}

/**
* Do not perform privated inliner argument rematerialization on high probability profiled
* guards when distrusted
* Determine whether to perform privatized inliner argument rematerialization
* on the given profiled guard.
*
* @return true if privatized inliner argumetn rematerialization should be suppressed
* @return true if privatized inliner argument rematerialization should be
* performed, false otherwise
*/
bool
OMR_InlinerPolicy::suitableForRemat(TR::Compilation *comp, TR::Node *node, TR_VirtualGuardSelection *guard)
Expand Down

0 comments on commit 9f3964d

Please sign in to comment.