mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 09:00:17 +02:00
IRValidation: Use C instead of CW
This op isn't mutated anywhere in the pass.
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user