From 9f3964ddd4f79266f36a85952530c9afd77218fa Mon Sep 17 00:00:00 2001 From: Devin Papineau Date: Thu, 9 Jun 2022 19:55:06 -0400 Subject: [PATCH] Correct the OMR_InlinerPolicy::suitableForRemat() doc comment Now the meaning of the comment matches both the method name and the apparent use of the method. --- compiler/optimizer/Inliner.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/compiler/optimizer/Inliner.cpp b/compiler/optimizer/Inliner.cpp index 6dc59bfd3d..87f6a758ca 100644 --- a/compiler/optimizer/Inliner.cpp +++ b/compiler/optimizer/Inliner.cpp @@ -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)