mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Remove ASSUME macro
It's dangerous and sometimes bluntly misused feature. Its optimization potential is near-zero.
This commit is contained in:
parent
61b882b2a6
commit
b382d3b3e9
23 changed files with 40 additions and 68 deletions
|
|
@ -310,8 +310,6 @@ namespace vm
|
|||
{
|
||||
to_clear = for_all_range_locks(to_clear, [&](u32 addr2, u32 size2)
|
||||
{
|
||||
ASSUME(size2);
|
||||
|
||||
if (range.overlaps(utils::address_range::start_length(addr2, size2))) [[unlikely]]
|
||||
{
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue