[base] Fail early in OS::Free and OS::Release
Instead of returning a boolean value, and then failing in the caller via a CHECK, do fail directly inside OS::Free, OS::Release and similar functions. The PageAllocator methods still return a bool (which is always true) to avoid changing the public API. R=mlippautz@chromium.org Bug: v8:12656, chromium:1299735 Cq-Include-Trybots: luci.v8.try:v8_fuchsia_compile_rel Change-Id: Ide02e7d893e1603326c629797a7defac8bf258ef Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3483671Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/main@{#79258}
Showing
Please
register
or
sign in
to comment