Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Issue 2011873002: [wasm] Check that type intersections don't yield empty. (Closed)

Created:
4 years, 7 months ago by bradnelson
Modified:
4 years, 7 months ago
Reviewers:
bradn, ahaas
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Check that type intersections don't yield empty. Intersection of types is used in several places, if it yields the empty set, this indicates a type mismatch. We should emit an error in this case. Add the RECURSE() macro around IntersectResult to allow errors to propagate immediately. BUG=614291 R=ahaas@chromium.org TEST=asm-wasm LOG=N Committed: https://crrev.com/cfb4d1e6d7c94b55e518ae8daf28c2a5b1479dfa Cr-Commit-Position: refs/heads/master@{#36525}

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix #

Patch Set 3 : fix #

Patch Set 4 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -31 lines) Patch
M src/typing-asm.cc View 1 2 24 chunks +40 lines, -31 lines 0 comments Download
M test/mjsunit/wasm/asm-wasm.js View 1 2 3 chunks +34 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
bradn
4 years, 7 months ago (2016-05-25 10:01:55 UTC) #3
ahaas
lgtm Thanks for making the test. https://codereview.chromium.org/2011873002/diff/1/src/typing-asm.cc File src/typing-asm.cc (right): https://codereview.chromium.org/2011873002/diff/1/src/typing-asm.cc#newcode720 src/typing-asm.cc:720: if (bounds_.get(expr).upper->Is(Type::None())) { ...
4 years, 7 months ago (2016-05-25 10:09:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2011873002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2011873002/60001
4 years, 7 months ago (2016-05-25 16:26:10 UTC) #7
bradn
https://codereview.chromium.org/2011873002/diff/1/src/typing-asm.cc File src/typing-asm.cc (right): https://codereview.chromium.org/2011873002/diff/1/src/typing-asm.cc#newcode720 src/typing-asm.cc:720: if (bounds_.get(expr).upper->Is(Type::None())) { On 2016/05/25 10:09:11, ahaas wrote: > ...
4 years, 7 months ago (2016-05-25 16:26:49 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-25 16:33:40 UTC) #10
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 16:33:57 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cfb4d1e6d7c94b55e518ae8daf28c2a5b1479dfa
Cr-Commit-Position: refs/heads/master@{#36525}

Powered by Google App Engine
This is Rietveld 408576698