mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 13:48:40 +00:00
fix ASSERT_MSG arguments (#2337)
This commit is contained in:
@@ -219,7 +219,7 @@ void FlattenExtendedUserdataPass(IR::Program& program) {
|
|||||||
};
|
};
|
||||||
auto base0 = IR::BreadthFirstSearch(ptr_composite->Arg(0), pred);
|
auto base0 = IR::BreadthFirstSearch(ptr_composite->Arg(0), pred);
|
||||||
auto base1 = IR::BreadthFirstSearch(ptr_composite->Arg(1), pred);
|
auto base1 = IR::BreadthFirstSearch(ptr_composite->Arg(1), pred);
|
||||||
ASSERT_MSG(base0 && base1 && "ReadConst not from constant memory");
|
ASSERT_MSG(base0 && base1, "ReadConst not from constant memory");
|
||||||
|
|
||||||
IR::Inst* ptr_lo = base0.value();
|
IR::Inst* ptr_lo = base0.value();
|
||||||
ptr_lo = pass_info.DeduplicateInstruction(ptr_lo);
|
ptr_lo = pass_info.DeduplicateInstruction(ptr_lo);
|
||||||
|
|||||||
Reference in New Issue
Block a user