DescriptionDelay asm->wasm foreign globals init until later.
Rather than bake foreign globals into the module
at compile time, add a __foreign_init__ function that can be called
after instantiation with foreign values gathers using keys
in a separately generated FixedArray.
This is an incremental step towards being able to enable asm->wasm
on for general traffic, behind a flag.
BUG= https://bugs.chromium.org/p/v8/issues/detail?id=4203
TEST=asm-wasm
R=titzer@chromium.org,aseemgarg@chromium.org
LOG=N
Committed: https://crrev.com/48c2857a931097595cb175b186e872c226f37ff7
Cr-Commit-Position: refs/heads/master@{#36418}
Patch Set 1 #Patch Set 2 : fix #
Total comments: 6
Patch Set 3 : fix #
Messages
Total messages: 10 (3 generated)
|