diff options
author | Andreu Botella <andreu@andreubotella.com> | 2022-07-06 00:45:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-06 00:45:10 +0200 |
commit | f0ef15ff07f26814f6fbb952f195064c0d066919 (patch) | |
tree | 6d47e915475285ace1df57b628a256be1a3f1ff4 /ext/fetch/23_response.js | |
parent | cdba53a73d5bea9e19b4bb30dac6db55bdb28aad (diff) |
refactor(core): Use `&mut Isolate` as an argument in `JsRealm` methods (#15093)
Currently almost every `JsRealm` method has a `&mut JsRuntime`
argument. This argument, however, is only used to get the runtime's
corresponding isolate. Given that a mutable reference to the
corresponding `v8::Isolate` can be reached from many more places than
a mutable reference to the `JsRuntime` (for example, by derefing a V8
scope), changing that will make `JsRealm` usable from many more places
than it currently is.
Diffstat (limited to 'ext/fetch/23_response.js')
0 files changed, 0 insertions, 0 deletions