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

Issue 1787733002: [wasm] Fix OpcodeLength() calculation. (Closed)

Created:
4 years, 9 months ago by titzer
Modified:
4 years, 9 months ago
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] Fix OpcodeLength() calculation. R=bradnelson@chromium.org,binji@chromium.org BUG= Committed: https://crrev.com/90eb63418bbde165cd3b62dc71919292a8cce49f Cr-Commit-Position: refs/heads/master@{#34730}

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -45 lines) Patch
M src/wasm/ast-decoder.h View 2 chunks +2 lines, -4 lines 0 comments Download
M src/wasm/ast-decoder.cc View 4 chunks +24 lines, -25 lines 3 comments Download
M src/wasm/wasm-macro-gen.h View 1 chunk +0 lines, -2 lines 1 comment Download
M test/unittests/wasm/ast-decoder-unittest.cc View 3 chunks +30 lines, -14 lines 0 comments Download
M test/unittests/wasm/wasm-macro-gen-unittest.cc View 1 chunk +4 lines, -0 lines 2 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (3 generated)
titzer
4 years, 9 months ago (2016-03-11 14:04:42 UTC) #1
Mircea Trofin
https://codereview.chromium.org/1787733002/diff/1/src/wasm/ast-decoder.cc File src/wasm/ast-decoder.cc (right): https://codereview.chromium.org/1787733002/diff/1/src/wasm/ast-decoder.cc#newcode1472 src/wasm/ast-decoder.cc:1472: void PrepareForLoop(const byte* pc, SsaEnv* env) { Looks like ...
4 years, 9 months ago (2016-03-11 17:15:41 UTC) #3
titzer
https://codereview.chromium.org/1787733002/diff/1/src/wasm/ast-decoder.cc File src/wasm/ast-decoder.cc (right): https://codereview.chromium.org/1787733002/diff/1/src/wasm/ast-decoder.cc#newcode1472 src/wasm/ast-decoder.cc:1472: void PrepareForLoop(const byte* pc, SsaEnv* env) { On 2016/03/11 ...
4 years, 9 months ago (2016-03-11 17:17:36 UTC) #4
Mircea Trofin
lgtm
4 years, 9 months ago (2016-03-11 17:22:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1787733002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787733002/1
4 years, 9 months ago (2016-03-11 17:59:12 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-11 18:01:57 UTC) #8
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/90eb63418bbde165cd3b62dc71919292a8cce49f Cr-Commit-Position: refs/heads/master@{#34730}
4 years, 9 months ago (2016-03-11 18:02:28 UTC) #10
binji
4 years, 9 months ago (2016-03-11 18:10:03 UTC) #11
Message was sent while issue was closed.
lgtm

https://codereview.chromium.org/1787733002/diff/1/src/wasm/ast-decoder.cc
File src/wasm/ast-decoder.cc (right):

https://codereview.chromium.org/1787733002/diff/1/src/wasm/ast-decoder.cc#new...
src/wasm/ast-decoder.cc:338: case kExprI32Const: {
oops, sorry about this. Didn't notice!

https://codereview.chromium.org/1787733002/diff/1/src/wasm/wasm-macro-gen.h
File src/wasm/wasm-macro-gen.h (left):

https://codereview.chromium.org/1787733002/diff/1/src/wasm/wasm-macro-gen.h#o...
src/wasm/wasm-macro-gen.h:113: DCHECK(length == 1 || !I32V_IN_RANGE(value,
length - 1));
yeah, probably better this way.

Powered by Google App Engine
This is Rietveld 408576698