mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-01 23:12:35 +00:00
Fix build
This commit is contained in:
parent
5c736b3edd
commit
62b7dc2300
@ -129,8 +129,8 @@ void SubProgram::AddPhi(Inst* orig_phi, Inst* phi) {
|
|||||||
Block* loop_merge = cond->asl_node->data.loop.merge;
|
Block* loop_merge = cond->asl_node->data.loop.merge;
|
||||||
for (Block* pred : loop_merge->ImmPredecessors()) {
|
for (Block* pred : loop_merge->ImmPredecessors()) {
|
||||||
if (pred->CondData().asl_node == cond->asl_node) {
|
if (pred->CondData().asl_node == cond->asl_node) {
|
||||||
ASSERT(pred->back().Type() == Inst::Type::ConditionRef);
|
ASSERT(pred->back().GetOpcode() == IR::Opcode::ConditionRef);
|
||||||
AddInst(pred->back().InstRecursive());
|
AddInst(&pred->back());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user