DescriptionRevert "Revert "[wasm] Complete separation of compilation and instantiation""
This reverts commit 1eb1dfabe4bf8ff934047335dfebafb8f0dfc550.
The original compilation separation change avoided associating a heap
for the wasm instance if memory was not provided, nor needed. The
grow memory CL assumed the old behavior, where a memory buffer was
always present, but may have had a zero size.
The 2CLS landed shortly after one another. We decided to treat the
grow memory as the race condition winner, so this CL here re-lands
compilation separation, plus adjusts grow memory to deal with
the undefined mem buffer.
BUG=
Committed: https://crrev.com/9d6014ad55bf37afb614e210ebfb329b00df7bb2
Cr-Commit-Position: refs/heads/master@{#37352}
Patch Set 1 #Patch Set 2 : Deal with undefined mem when growing. #Patch Set 3 : Some DCHECKs #
Messages
Total messages: 13 (7 generated)
|