Eliminate unnecessary Adjust{Size|Offset}ForExtras* calls
This CL fixes a performance regression introduced by r829145. When both partition cookies and reference counts are disabled at compile time (which is the current default configuration), |AdjustSizeForExtrasAdd| and similar functions become no-op. Make the compiler aware of that. Bug: 1150917 Change-Id: I24e91177d4575a5ea013a9c647641c6389aa01a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2571281Reviewed-by:Benoit L <lizeb@chromium.org> Commit-Queue: Sergei Glazunov <glazunov@google.com> Cr-Commit-Position: refs/heads/master@{#833310}
Showing
Please register or sign in to comment