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

Issue 2403093002: [wasm] Canonicalize function signature indices for matching in indirect calls. (Closed)

Created:
4 years, 2 months ago by titzer
Modified:
4 years, 2 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Canonicalize function signature indices for matching in indirect calls. R=bradnelson@chromium.org, ahaas@chromium.org, clemensh@chromium.org BUG=chromium:575167 Committed: https://crrev.com/ff6941966e1eb9258453766da2f436373774cbef Cr-Commit-Position: refs/heads/master@{#40169}

Patch Set 1 #

Patch Set 2 : Add TODO for myself #

Total comments: 6

Patch Set 3 : [wasm] Canonicalize function signature indices for matching in indirect calls. #

Total comments: 10

Patch Set 4 : Address review comments #

Patch Set 5 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+245 lines, -22 lines) Patch
M BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M src/v8.gyp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/wasm/module-decoder.h View 1 chunk +7 lines, -0 lines 0 comments Download
M src/wasm/module-decoder.cc View 1 2 3 4 4 chunks +22 lines, -5 lines 0 comments Download
A src/wasm/signature-map.h View 1 2 3 4 1 chunk +41 lines, -0 lines 0 comments Download
A src/wasm/signature-map.cc View 1 2 3 4 1 chunk +51 lines, -0 lines 0 comments Download
M src/wasm/wasm-interpreter.cc View 1 2 3 4 1 chunk +10 lines, -1 line 0 comments Download
M src/wasm/wasm-module.h View 1 2 3 4 4 chunks +4 lines, -6 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M src/wasm/wasm-module-builder.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M test/cctest/wasm/test-run-wasm.cc View 1 2 3 4 1 chunk +43 lines, -0 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 2 3 4 1 chunk +6 lines, -3 lines 0 comments Download
M test/mjsunit/wasm/indirect-calls.js View 1 2 3 4 3 chunks +48 lines, -5 lines 0 comments Download

Messages

Total messages: 29 (20 generated)
titzer
4 years, 2 months ago (2016-10-10 16:49:53 UTC) #1
bradnelson
lgtm https://codereview.chromium.org/2403093002/diff/20001/test/mjsunit/wasm/indirect-calls.js File test/mjsunit/wasm/indirect-calls.js (right): https://codereview.chromium.org/2403093002/diff/20001/test/mjsunit/wasm/indirect-calls.js#newcode128 test/mjsunit/wasm/indirect-calls.js:128: assertEquals(31, module.exports.main(2, 2)); Worth having a test where ...
4 years, 2 months ago (2016-10-10 17:32:17 UTC) #8
Clemens Hammacher
https://codereview.chromium.org/2403093002/diff/20001/src/wasm/signature-map.h File src/wasm/signature-map.h (right): https://codereview.chromium.org/2403093002/diff/20001/src/wasm/signature-map.h#newcode33 src/wasm/signature-map.h:33: std::map<FunctionSig*, uint32_t, CompareFunctionSigs> map_; Depending on the size of ...
4 years, 2 months ago (2016-10-10 17:35:03 UTC) #9
titzer
https://codereview.chromium.org/2403093002/diff/20001/src/wasm/signature-map.h File src/wasm/signature-map.h (right): https://codereview.chromium.org/2403093002/diff/20001/src/wasm/signature-map.h#newcode33 src/wasm/signature-map.h:33: std::map<FunctionSig*, uint32_t, CompareFunctionSigs> map_; On 2016/10/10 17:35:02, Clemens Hammacher ...
4 years, 2 months ago (2016-10-10 17:45:21 UTC) #12
ahaas
lgtm with nits https://codereview.chromium.org/2403093002/diff/40001/src/wasm/signature-map.cc File src/wasm/signature-map.cc (right): https://codereview.chromium.org/2403093002/diff/40001/src/wasm/signature-map.cc#newcode11 src/wasm/signature-map.cc:11: uint32_t SignatureMap::Get(FunctionSig* sig) { I think ...
4 years, 2 months ago (2016-10-11 09:20:09 UTC) #17
titzer
https://codereview.chromium.org/2403093002/diff/40001/src/wasm/signature-map.cc File src/wasm/signature-map.cc (right): https://codereview.chromium.org/2403093002/diff/40001/src/wasm/signature-map.cc#newcode11 src/wasm/signature-map.cc:11: uint32_t SignatureMap::Get(FunctionSig* sig) { On 2016/10/11 09:20:09, ahaas wrote: ...
4 years, 2 months ago (2016-10-11 11:58:31 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2403093002/80001
4 years, 2 months ago (2016-10-11 12:38:07 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-11 12:40:28 UTC) #27
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 12:40:38 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ff6941966e1eb9258453766da2f436373774cbef
Cr-Commit-Position: refs/heads/master@{#40169}

Powered by Google App Engine
This is Rietveld 408576698