IRValidation: Use C instead of CW

This op isn't mutated anywhere in the pass.
This commit is contained in:
LC committed 2026-07-24 16:00:20 -04:00
1 parent f5e4e26e08
commit 9e3f287c1f
1 file changed
+1 -1
@@ -60,7 +60,7 @@ void IRValidation::Run(IREmitter* IREmit) {
#endif
for (auto [BlockNode, BlockHeader] : CurrentIR.GetBlocks()) {
auto BlockIROp = BlockHeader->CW<FEXCore::IR::IROp_CodeBlock>();
auto BlockIROp = BlockHeader->C<FEXCore::IR::IROp_CodeBlock>();
LOGMAN_THROW_A_FMT(BlockIROp->Header.Op == OP_CODEBLOCK, "IR type failed to be a code block");
if (!EntryBlock) {