Description[wasm] Fix test-run-wasm-module tests in debug mode.
test-run-wasm-module cctests broken in debug since recent refactoring changes for moving Compilation/Instantiation off the module object (https://codereview.chromium.org/2320723005). The problem here is that SetupIsolateForWasm tries to add the same property to a module_object multiple times and hits a DCHECK when this property is found on a lookup.
- Fixed to use the setup method only once when CcTest::InitIsolateOnce is used.
- Move setup method to test as this is only used for cctests/fuzzers. The install method should take care of this in the regular JS pipeline.
R=mtrofin@chromium.org, ahaas@chromium.org
Committed: https://crrev.com/dd3b14b7b47693806b62b25a102c8d912cd90004
Cr-Commit-Position: refs/heads/master@{#39484}
Patch Set 1 #Patch Set 2 : Fix header #
Total comments: 4
Patch Set 3 : Fix stale upload #
Total comments: 4
Patch Set 4 : Rebase #Patch Set 5 : Nix bad variable #Patch Set 6 : Rename Install functions #
Messages
Total messages: 34 (23 generated)
|