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

Issue 2285643002: [wasm] Validate the alignment of load and store instructions. (Closed)

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

Description

[wasm] Validate the alignment of load and store instructions. According to the WebAssembly specification the alignment of load and store instructions has to be less or equal to natural alignment. R=titzer@chromium.org Committed: https://crrev.com/6a892bb45111bf5f5dfd678e9995eb3957898136 Cr-Commit-Position: refs/heads/master@{#39131}

Patch Set 1 #

Patch Set 2 : signed unsigned mismatch #

Total comments: 2

Patch Set 3 : Comments #

Total comments: 2

Patch Set 4 : Add alignment and maximum alignment information to the error message. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -6 lines) Patch
M src/wasm/ast-decoder.h View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download
M src/wasm/ast-decoder.cc View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M src/wasm/wasm-interpreter.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M test/unittests/wasm/ast-decoder-unittest.cc View 1 2 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
ahaas
4 years, 3 months ago (2016-08-26 07:39:26 UTC) #1
titzer
https://codereview.chromium.org/2285643002/diff/20001/src/wasm/ast-decoder.h File src/wasm/ast-decoder.h (right): https://codereview.chromium.org/2285643002/diff/20001/src/wasm/ast-decoder.h#newcode188 src/wasm/ast-decoder.h:188: inline MemoryAccessOperand(Decoder* decoder, const byte* pc, Why not just ...
4 years, 3 months ago (2016-08-26 08:24:17 UTC) #10
ahaas
https://codereview.chromium.org/2285643002/diff/20001/src/wasm/ast-decoder.h File src/wasm/ast-decoder.h (right): https://codereview.chromium.org/2285643002/diff/20001/src/wasm/ast-decoder.h#newcode188 src/wasm/ast-decoder.h:188: inline MemoryAccessOperand(Decoder* decoder, const byte* pc, On 2016/08/26 at ...
4 years, 3 months ago (2016-09-01 17:18:29 UTC) #15
titzer
lgtm with comment https://codereview.chromium.org/2285643002/diff/40001/src/wasm/ast-decoder.h File src/wasm/ast-decoder.h (right): https://codereview.chromium.org/2285643002/diff/40001/src/wasm/ast-decoder.h#newcode194 src/wasm/ast-decoder.h:194: decoder->error(pc, How about printing the expected ...
4 years, 3 months ago (2016-09-02 07:46:23 UTC) #16
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/2285643002/60001
4 years, 3 months ago (2016-09-02 11:35:35 UTC) #22
ahaas
https://codereview.chromium.org/2285643002/diff/40001/src/wasm/ast-decoder.h File src/wasm/ast-decoder.h (right): https://codereview.chromium.org/2285643002/diff/40001/src/wasm/ast-decoder.h#newcode194 src/wasm/ast-decoder.h:194: decoder->error(pc, On 2016/09/02 at 07:46:23, titzer wrote: > How ...
4 years, 3 months ago (2016-09-02 11:35:46 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-02 11:59:16 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-02 11:59:59 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6a892bb45111bf5f5dfd678e9995eb3957898136
Cr-Commit-Position: refs/heads/master@{#39131}

Powered by Google App Engine
This is Rietveld 408576698