ir_instr_delete_quick needs to clear _m_ops

This commit is contained in:
Wolfgang Bumiller 2015-02-01 11:49:46 +01:00
parent 45236a644f
commit 66d908f39b

3
ir.cpp
View file

@ -792,6 +792,9 @@ static void ir_instr_delete_quick(ir_instr *self)
{
self->m_phi.clear();
self->m_params.clear();
self->_m_ops[0] = nullptr;
self->_m_ops[1] = nullptr;
self->_m_ops[2] = nullptr;
delete self;
}