Remove ASSUME macro

It's dangerous and sometimes bluntly misused feature.
Its optimization potential is near-zero.
This commit is contained in:
Nekotekina 2020-12-10 13:37:26 +03:00
parent 61b882b2a6
commit b382d3b3e9
23 changed files with 40 additions and 68 deletions

View file

@ -3516,8 +3516,6 @@ retry:
void spu_thread::set_events(u32 bits)
{
ASSUME(!(bits & ~0xffff));
if (ch_events.atomic_op([&](ch_events_t& events)
{
events.events |= bits;