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

Issue 2650293003: [wasm] Interpreter: Don't pause on invalid position (Closed)

Created:
3 years, 11 months ago by Clemens Hammacher
Modified:
3 years, 11 months ago
Reviewers:
titzer
CC:
devtools-reviews_chromium.org, v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Interpreter: Don't pause on invalid position Always execute the implicit return if we fell off the function bytes. This is not considered an additional "step" as it is not executing a wasm instruction. Otherwise, we might pause at an invalid position (one after the function bytes). R=titzer@chromium.org BUG=v8:5822 Review-Url: https://codereview.chromium.org/2650293003 Cr-Commit-Position: refs/heads/master@{#42730} Committed: https://chromium.googlesource.com/v8/v8/+/e29a2cd5296650efc29cfe9f0241628b9865ecb9

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move code to better location #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -11 lines) Patch
M src/wasm/wasm-interpreter.cc View 1 2 chunks +9 lines, -9 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/inspector/debugger/wasm-stepping-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (18 generated)
Clemens Hammacher
3 years, 11 months ago (2017-01-25 12:16:39 UTC) #1
titzer
https://codereview.chromium.org/2650293003/diff/1/src/wasm/wasm-interpreter.cc File src/wasm/wasm-interpreter.cc (right): https://codereview.chromium.org/2650293003/diff/1/src/wasm/wasm-interpreter.cc#newcode1182 src/wasm/wasm-interpreter.cc:1182: while (pc >= limit || --max >= 0) { ...
3 years, 11 months ago (2017-01-25 12:25:06 UTC) #4
Clemens Hammacher
https://codereview.chromium.org/2650293003/diff/1/src/wasm/wasm-interpreter.cc File src/wasm/wasm-interpreter.cc (right): https://codereview.chromium.org/2650293003/diff/1/src/wasm/wasm-interpreter.cc#newcode1182 src/wasm/wasm-interpreter.cc:1182: while (pc >= limit || --max >= 0) { ...
3 years, 11 months ago (2017-01-25 12:33:33 UTC) #5
Clemens Hammacher
On 2017/01/25 at 12:33:33, Clemens Hammacher wrote: > https://codereview.chromium.org/2650293003/diff/1/src/wasm/wasm-interpreter.cc > File src/wasm/wasm-interpreter.cc (right): > > ...
3 years, 11 months ago (2017-01-25 12:34:30 UTC) #6
Clemens Hammacher
On 2017/01/25 at 12:34:30, Clemens Hammacher wrote: > On 2017/01/25 at 12:33:33, Clemens Hammacher wrote: ...
3 years, 11 months ago (2017-01-25 12:41:45 UTC) #9
titzer
lgtm
3 years, 11 months ago (2017-01-25 12:56:53 UTC) #10
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/2650293003/40001
3 years, 11 months ago (2017-01-27 09:46:34 UTC) #23
commit-bot: I haz the power
3 years, 11 months ago (2017-01-27 09:48:14 UTC) #26
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/e29a2cd5296650efc29cfe9f0241628b986...

Powered by Google App Engine
This is Rietveld 408576698