Description[wasm] Inspect right control frames for unreachable flag
We were looking at the unreachable flag or stack_depth of the target frame
instead of the current one in a couple of places (most notably BreakTo).
This change fixes these bugs and makes us pass the latest spec tests for
br_table validation. Also need to ensure that br_table targets have consistent
types, which is not implied if the stack is polymorphic.
R=titzer@chromium.org
BUG=6001
Review-Url: https://codereview.chromium.org/2696813002
Cr-Commit-Position: refs/heads/master@{#43250}
Committed: https://chromium.googlesource.com/v8/v8/+/e2b83fbbfdf403903d3b4e5bd9276d38151789c3
Patch Set 1 #
Total comments: 4
Patch Set 2 : Tests #Patch Set 3 : Avoid conversion warning #
Messages
Total messages: 16 (7 generated)
|