mirror of
https://github.com/danog/ir.git
synced 2025-01-22 05:31:32 +01:00
Fix ir_worklist_clear()
This commit is contained in:
parent
2e7f567feb
commit
78cc14aca9
@ -596,7 +596,7 @@ IR_ALWAYS_INLINE uint32_t ir_worklist_capasity(ir_worklist *w)
|
||||
|
||||
IR_ALWAYS_INLINE void ir_worklist_clear(ir_worklist *w)
|
||||
{
|
||||
ir_list_free(&w->l);
|
||||
ir_list_clear(&w->l);
|
||||
ir_bitset_clear(w->visited, ir_bitset_len(ir_worklist_capasity(w)));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user