Skip to content

Commit

Permalink
Fix JITDUMP null deref
Browse files Browse the repository at this point in the history
  • Loading branch information
amanasifkhalid committed Nov 21, 2024
1 parent 7c1f78f commit 22dda01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/jit/optimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4161,7 +4161,7 @@ void Compiler::optRecordLoopMemoryDependence(GenTree* tree, BasicBlock* block, V

JITDUMP(" ==> Not updating loop memory dependence of [%06u]/" FMT_LP ", memory definition " FMT_VN
"/" FMT_LP " is not dependent on an ancestor loop\n",
dspTreeID(tree), blockLoop->GetIndex(), memoryVN, updateLoop->GetIndex());
dspTreeID(tree), blockLoop->GetIndex(), memoryVN, vnStore->LoopOfVN(memoryVN));
#endif
return;
}
Expand Down

0 comments on commit 22dda01

Please sign in to comment.