From 9e3f287c1f1971471d2a222a6f1e6242cf1811e2 Mon Sep 17 00:00:00 2001 From: LC Date: Fri, 24 Jul 2026 15:34:49 -0400 Subject: [PATCH] IRValidation: Use C instead of CW This op isn't mutated anywhere in the pass. --- FEXCore/Source/Interface/IR/Passes/IRValidation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FEXCore/Source/Interface/IR/Passes/IRValidation.cpp b/FEXCore/Source/Interface/IR/Passes/IRValidation.cpp index f54d8259d..a94184047 100644 --- a/FEXCore/Source/Interface/IR/Passes/IRValidation.cpp +++ b/FEXCore/Source/Interface/IR/Passes/IRValidation.cpp @@ -60,7 +60,7 @@ void IRValidation::Run(IREmitter* IREmit) { #endif for (auto [BlockNode, BlockHeader] : CurrentIR.GetBlocks()) { - auto BlockIROp = BlockHeader->CW(); + auto BlockIROp = BlockHeader->C(); LOGMAN_THROW_A_FMT(BlockIROp->Header.Op == OP_CODEBLOCK, "IR type failed to be a code block"); if (!EntryBlock) {