[compiler] Mark JSFunctionRef::context immutable
The JSFunction::set_context call happens 1. only on script functions and 2. before the function is executed, and therefore the compiler only ever sees the final value. Bug: v8:7790 Change-Id: I618673c7ec6284dcf3d80b1edd7be516b048ed2c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3041664 Commit-Queue: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Georg Neis <neis@chromium.org> Auto-Submit: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Georg Neis <neis@chromium.org> Cr-Commit-Position: refs/heads/master@{#75833}
Showing
Please
register
or
sign in
to comment