mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
fix clearargs
This commit is contained in:
parent
ed3e12176f
commit
5aca498a14
@ -147,8 +147,8 @@ void Inst::AddPhiOperand(Block* predecessor, const Value& value) {
|
||||
}
|
||||
|
||||
void Inst::Invalidate() {
|
||||
ASSERT(users.list.empty());
|
||||
ClearArgs();
|
||||
ASSERT(users.list.empty());
|
||||
ReplaceOpcode(Opcode::Void);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user