mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 23:43:09 +01:00
d4630d9d3e
Original commit message:
[compiler] reset script details in functions deserialized from code cache
During the serialization of the code cache, V8 would wipe out the
host-defined options, so after a script id deserialized from the
code cache, the host-defined options need to be reset on the script
using what's provided by the embedder when doing the deserializing
compilation, otherwise the HostImportModuleDynamically callbacks
can't get the data it needs to implement dynamic import().
Change-Id: I33cc6a5e43b6469d3527242e083f7ae6d8ed0c6a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5401780
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Joyee Cheung <joyee@igalia.com>
Cr-Commit-Position: refs/heads/main@{#93323}
Refs:
|
||
---|---|---|
.. | ||
acorn | ||
ada | ||
base64 | ||
brotli | ||
cares | ||
cjs-module-lexer | ||
corepack | ||
googletest | ||
histogram | ||
icu-small | ||
llhttp | ||
minimatch | ||
nghttp2 | ||
ngtcp2 | ||
npm | ||
openssl | ||
postject | ||
simdjson | ||
simdutf | ||
undici | ||
uv | ||
uvwasi | ||
v8 | ||
zlib |