Skip to content

Commit

Permalink
Fix comp
Browse files Browse the repository at this point in the history
Fix comp issue
  • Loading branch information
ehsankianifar committed Nov 22, 2024
1 parent 077f69f commit 926799a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/compiler/z/codegen/J9TreeEvaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14671,7 +14671,7 @@ J9::Z::TreeEvaluator::inlineOnSpinWait(TR::Node *node, TR::CodeGenerator *cg) {
// Thread.onSpinWait() on z is a simple "nop" instruction.
cg->generateNop(node);
static const bool printIt = feGetEnv("TR_showPauseOnSpinWait") != NULL;
if (printIt && comp->getOption(TR_TraceCG))
if (printIt && cg->comp()->getOption(TR_TraceCG))
{
traceMsg(comp, "insert PAUSE for onSpinWait : node=%p, %s\n", node, comp->signature());
}
Expand Down

0 comments on commit 926799a

Please sign in to comment.