|
|
Created:
4 years ago by Mircea Trofin Modified:
4 years ago CC:
v8-reviews_googlegroups.com Target Ref:
refs/pending/heads/master Project:
v8 Visibility:
Public. |
Description[wasm] disable serialization for asm-wasm
Determine if the scope of the function to be serialized includes asm-
wasm, and if so, bypass serialization, since we do not support it in
that scenario.
In this change, we do so regardless of whether the asm-wasm path was
successful. This is so we keep the design simple, since the guidance
to developers, moving forward, is to use wasm.
BUG=643595
Committed: https://crrev.com/77b50a8e126186488992b14b0760ed043a9d7631
Cr-Commit-Position: refs/heads/master@{#41704}
Patch Set 1 #Patch Set 2 : Fix #Patch Set 3 : Comment #
Total comments: 1
Messages
Total messages: 26 (20 generated)
The CQ bit was checked by mtrofin@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: v8_win_nosnap_shared_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_rel_ng...) v8_win_nosnap_shared_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_rel_ng...)
The CQ bit was checked by mtrofin@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by mtrofin@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== [wasm] disable serialization for asm-wasm BUG=643595 ========== to ========== [wasm] disable serialization for asm-wasm Determine if the scope of the function to be serialized includes asm- wasm, and if so, bypass serialization, since we do not support it in that scenario. In this change, we do so regardless of whether the asm-wasm path was successful. This is so we keep the design simple, since the guidance to developers, moving forward, is to use wasm. BUG=643595 ==========
mtrofin@chromium.org changed reviewers: + bradnelson@chromium.org, yangguo@google.com
PTAL. Please validate my assumptions that: - scopes are indeed forming a tree. I inferred from comments that Scope refers to a lexical scope, and the inner/sibling links are lexical relations. Is that correct? - the implication that if there is no asm-wasm scope, it also means that there is no asm-wasm module in the object graph to be serialized. Thanks!
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
bradnelson@google.com changed reviewers: + bradnelson@google.com
The CQ bit was checked by bradnelson@google.com
lgtm
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 40001, "attempt_start_ts": 1481778290400500, "parent_rev": "583681c4ee8512fd18a780bf3c4a888e66bb81a9", "commit_rev": "7a3e1954763b65200a457047e59e0a23c1b6f317"}
Message was sent while issue was closed.
Description was changed from ========== [wasm] disable serialization for asm-wasm Determine if the scope of the function to be serialized includes asm- wasm, and if so, bypass serialization, since we do not support it in that scenario. In this change, we do so regardless of whether the asm-wasm path was successful. This is so we keep the design simple, since the guidance to developers, moving forward, is to use wasm. BUG=643595 ========== to ========== [wasm] disable serialization for asm-wasm Determine if the scope of the function to be serialized includes asm- wasm, and if so, bypass serialization, since we do not support it in that scenario. In this change, we do so regardless of whether the asm-wasm path was successful. This is so we keep the design simple, since the guidance to developers, moving forward, is to use wasm. BUG=643595 Review-Url: https://codereview.chromium.org/2573193002 ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== [wasm] disable serialization for asm-wasm Determine if the scope of the function to be serialized includes asm- wasm, and if so, bypass serialization, since we do not support it in that scenario. In this change, we do so regardless of whether the asm-wasm path was successful. This is so we keep the design simple, since the guidance to developers, moving forward, is to use wasm. BUG=643595 Review-Url: https://codereview.chromium.org/2573193002 ========== to ========== [wasm] disable serialization for asm-wasm Determine if the scope of the function to be serialized includes asm- wasm, and if so, bypass serialization, since we do not support it in that scenario. In this change, we do so regardless of whether the asm-wasm path was successful. This is so we keep the design simple, since the guidance to developers, moving forward, is to use wasm. BUG=643595 Committed: https://crrev.com/77b50a8e126186488992b14b0760ed043a9d7631 Cr-Commit-Position: refs/heads/master@{#41704} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/77b50a8e126186488992b14b0760ed043a9d7631 Cr-Commit-Position: refs/heads/master@{#41704}
Message was sent while issue was closed.
yangguo@chromium.org changed reviewers: + yangguo@chromium.org
Message was sent while issue was closed.
lgtm https://codereview.chromium.org/2573193002/diff/40001/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/2573193002/diff/40001/src/compiler.cc#newcode... src/compiler.cc:1352: // We assume scopes form a tree, so no need to check for cycles I think this can be done a lot easier. We have all shared function infos that have been compiled in GetSharedFunctionInfoForScript listed in Script::shared_function_infos. You can iterate through it using WeakFixedArray::Iterator. There you can figure out whether there is an asm module involved. |