Description[wasm][asm.js] Permit ternary operator in asm.js returns in some cases.
In practice, Emscripten seems to emit cond?+a:+b type return
expressions. This is not allowed by the spec or errata, but we need
to support it for compatibility.
Similar patterns with ints / signed, do not seem to be supported.
BUG=v8:5891
R=mtrofin@chromium.org,aseemgarg@chromium.org
Review-Url: https://codereview.chromium.org/2648353010
Cr-Commit-Position: refs/heads/master@{#42677}
Committed: https://chromium.googlesource.com/v8/v8/+/d0befa956f13b279a6e8dfdeb19eda8e5a14e9ca
Patch Set 1 #
Total comments: 4
Patch Set 2 : fix #
Messages
Total messages: 18 (12 generated)
|