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

Issue 2630553002: [wasm] Enforce that function bodies end with the \"end\" opcode. (Closed)

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

Description

[wasm] Enforce that function bodies end with the \"end\" opcode. R=rossberg@chromium.org BUG=chromium:575167 Review-Url: https://codereview.chromium.org/2630553002 Cr-Original-Original-Commit-Position: refs/heads/master@{#42286} Committed: https://chromium.googlesource.com/v8/v8/+/fcc6e85ec6b01e5367795f98aff104b1ff23f619 Review-Url: https://codereview.chromium.org/2630553002 Cr-Original-Commit-Position: refs/heads/master@{#42315} Committed: https://chromium.googlesource.com/v8/v8/+/74a2f9b7d3c3d9a9284ab8d5a9d08618b8194966 Review-Url: https://codereview.chromium.org/2630553002 Cr-Commit-Position: refs/heads/master@{#42350} Committed: https://chromium.googlesource.com/v8/v8/+/7d42244a7ea0a807e8e4fc626b58c233c1c4f2dc

Patch Set 1 #

Total comments: 1

Patch Set 2 : Control depth starts at 1 #

Patch Set 3 : Update inspector tests #

Total comments: 3

Patch Set 4 : [wasm] Enforce that function bodies end with the \"end\" opcode. #

Patch Set 5 : [wasm] Enforce that function bodies end with the \"end\" opcode. #

Patch Set 6 : Extract function to prepare bytecode #

Patch Set 7 : Collapse some tests together #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -121 lines) Patch
M src/asmjs/asm-wasm-builder.cc View 1 2 3 3 chunks +6 lines, -0 lines 0 comments Download
M src/wasm/function-body-decoder.cc View 3 chunks +7 lines, -37 lines 0 comments Download
M src/wasm/wasm-macro-gen.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/wasm/wasm-text.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/wasm/test-run-wasm.cc View 1 chunk +9 lines, -3 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-interpreter.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/wasm/test-run-wasm-module.cc View 1 2 3 4 5 6 18 chunks +25 lines, -19 lines 0 comments Download
M test/cctest/wasm/test-wasm-breakpoints.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 2 3 1 chunk +12 lines, -1 line 0 comments Download
M test/debugger/debug/wasm/frame-inspection.js View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/inspector/debugger/wasm-scripts-expected.txt View 1 2 1 chunk +10 lines, -8 lines 0 comments Download
M test/inspector/debugger/wasm-source-expected.txt View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/inspector/debugger/wasm-stack-expected.txt View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/mjsunit/wasm/incrementer.wasm View 4 Binary file 0 comments Download
M test/mjsunit/wasm/indirect-tables.js View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/table.js View 3 chunks +3 lines, -3 lines 0 comments Download
M test/mjsunit/wasm/wasm-module-builder.js View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M test/unittests/value-serializer-unittest.cc View 1 3 chunks +6 lines, -4 lines 0 comments Download
M test/unittests/wasm/function-body-decoder-unittest.cc View 1 2 3 4 5 6 3 chunks +26 lines, -31 lines 0 comments Download
M test/unittests/wasm/module-decoder-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/wasm/wasm-macro-gen-unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 46 (29 generated)
titzer
3 years, 11 months ago (2017-01-12 15:21:24 UTC) #1
rossberg
lgtm
3 years, 11 months ago (2017-01-12 15:40:35 UTC) #4
rossberg
https://codereview.chromium.org/2630553002/diff/1/src/asmjs/asm-wasm-builder.cc File src/asmjs/asm-wasm-builder.cc (right): https://codereview.chromium.org/2630553002/diff/1/src/asmjs/asm-wasm-builder.cc#newcode548 src/asmjs/asm-wasm-builder.cc:548: if (scope_ == kFuncScope) { Stupid question: how can ...
3 years, 11 months ago (2017-01-12 15:40:47 UTC) #5
titzer
On 2017/01/12 15:40:47, rossberg wrote: > https://codereview.chromium.org/2630553002/diff/1/src/asmjs/asm-wasm-builder.cc > File src/asmjs/asm-wasm-builder.cc (right): > > https://codereview.chromium.org/2630553002/diff/1/src/asmjs/asm-wasm-builder.cc#newcode548 > ...
3 years, 11 months ago (2017-01-12 18:29:28 UTC) #16
Mircea Trofin
https://codereview.chromium.org/2630553002/diff/40001/test/unittests/value-serializer-unittest.cc File test/unittests/value-serializer-unittest.cc (right): https://codereview.chromium.org/2630553002/diff/40001/test/unittests/value-serializer-unittest.cc#newcode2442 test/unittests/value-serializer-unittest.cc:2442: 0, 97, 115, 109, 13, 0, 0, 0, 1, ...
3 years, 11 months ago (2017-01-12 19:22:02 UTC) #18
Mircea Trofin
+jbroman - Jeremy, if you could please look at the change in value-serializer-unittest.cc; main question ...
3 years, 11 months ago (2017-01-12 19:23:59 UTC) #20
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/2630553002/40001
3 years, 11 months ago (2017-01-12 19:44:25 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/v8/v8/+/fcc6e85ec6b01e5367795f98aff104b1ff23f619
3 years, 11 months ago (2017-01-12 19:46:32 UTC) #26
jbroman
https://codereview.chromium.org/2630553002/diff/40001/test/unittests/value-serializer-unittest.cc File test/unittests/value-serializer-unittest.cc (right): https://codereview.chromium.org/2630553002/diff/40001/test/unittests/value-serializer-unittest.cc#newcode2524 test/unittests/value-serializer-unittest.cc:2524: if (true) return; // TODO(mtrofin): fix this test On ...
3 years, 11 months ago (2017-01-12 19:58:13 UTC) #28
Dan Ehrenberg
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2628883006/ by littledan@chromium.org. ...
3 years, 11 months ago (2017-01-12 20:00:49 UTC) #29
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/2630553002/100001
3 years, 11 months ago (2017-01-13 10:18:24 UTC) #33
titzer
On 2017/01/12 20:00:49, Dan Ehrenberg wrote: > A revert of this CL (patchset #3 id:40001) ...
3 years, 11 months ago (2017-01-13 10:18:49 UTC) #34
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/v8/v8/+/74a2f9b7d3c3d9a9284ab8d5a9d08618b8194966
3 years, 11 months ago (2017-01-13 10:50:13 UTC) #37
titzer
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/2636463002/ by titzer@chromium.org. ...
3 years, 11 months ago (2017-01-13 11:32:03 UTC) #38
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/2630553002/120001
3 years, 11 months ago (2017-01-15 20:52:06 UTC) #42
titzer
On 2017/01/13 11:32:03, titzer wrote: > A revert of this CL (patchset #6 id:100001) has ...
3 years, 11 months ago (2017-01-15 20:59:46 UTC) #43
commit-bot: I haz the power
3 years, 11 months ago (2017-01-15 21:19:00 UTC) #46
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/v8/v8/+/7d42244a7ea0a807e8e4fc626b58c233c1c...

Powered by Google App Engine
This is Rietveld 408576698