[ext-code-space] Fix code range allocation logic
Previously the code range could be allocated close but still outside of the "short builtins call" region which would enforce copying of builtins blob into the code range. This CL ensures that the calculated hint address takes the required base alignment into account and thus allocates the core range inside of preferred region (see Isolate::GetShortBuiltinsCallRegion()). Bug: v8:11880 Change-Id: I3cbd6a81501efd420063b963a8c4b5c328ae0785 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3283065Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Igor Sheludko <ishell@chromium.org> Cr-Commit-Position: refs/heads/main@{#77919}
Showing
Please
register
or
sign in
to comment