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

Issue 1764603003: Handle stack frames differently inside and on the boundary of wasm. (Closed)

Created:
4 years, 9 months ago by bradnelson
Modified:
4 years, 9 months ago
Reviewers:
titzer, aseemgarg, bradn, JF, Yang
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

Handle stack frames differently inside and on the boundary of wasm. Frames entering of inside wasm don't have a function or context argument. Adding distinct wasm frame and function types to express this. Fixes a GC issue on several embenchen wasm tests, reenabling them. BUG= https://code.google.com/p/v8/issues/detail?id=4203 TEST=mjsunit/wasm/embenchen R=titzer@chromium.org,aseemgarg@chromium.org,jfb@chromium.org,yangguo@chromium.org LOG=N Committed: https://crrev.com/530cc16460b14544760c06484a4aec2413cbd79d Cr-Commit-Position: refs/heads/master@{#34476}

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 5

Patch Set 3 : fix #

Total comments: 2

Patch Set 4 : revised #

Total comments: 2

Patch Set 5 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -31 lines) Patch
M src/compiler/wasm-compiler.cc View 1 2 3 2 chunks +2 lines, -4 lines 0 comments Download
M src/frames.h View 1 3 chunks +26 lines, -0 lines 0 comments Download
M src/frames.cc View 1 2 3 2 chunks +12 lines, -6 lines 0 comments Download
M src/frames-inl.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/log.cc View 1 2 3 4 1 chunk +9 lines, -1 line 0 comments Download
M src/objects.h View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M src/objects-inl.h View 1 2 3 3 chunks +4 lines, -9 lines 0 comments Download
M src/profiler/sampler.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/snapshot/code-serializer.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M test/mjsunit/wasm/stack.js View 1 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 30 (12 generated)
bradn
4 years, 9 months ago (2016-03-03 20:45:28 UTC) #5
JF
Nice, lgtm besides C++ism. https://codereview.chromium.org/1764603003/diff/20001/src/frames.cc File src/frames.cc (right): https://codereview.chromium.org/1764603003/diff/20001/src/frames.cc#newcode469 src/frames.cc:469: UNREACHABLE(); You'll already get a ...
4 years, 9 months ago (2016-03-03 21:11:52 UTC) #6
titzer
https://codereview.chromium.org/1764603003/diff/20001/src/frames.cc File src/frames.cc (right): https://codereview.chromium.org/1764603003/diff/20001/src/frames.cc#newcode469 src/frames.cc:469: UNREACHABLE(); On 2016/03/03 21:11:52, JF wrote: > You'll already ...
4 years, 9 months ago (2016-03-03 21:36:21 UTC) #7
JF
https://codereview.chromium.org/1764603003/diff/20001/src/frames.cc File src/frames.cc (right): https://codereview.chromium.org/1764603003/diff/20001/src/frames.cc#newcode469 src/frames.cc:469: UNREACHABLE(); On 2016/03/03 21:36:20, titzer wrote: > On 2016/03/03 ...
4 years, 9 months ago (2016-03-03 21:38:46 UTC) #8
bradn
https://codereview.chromium.org/1764603003/diff/20001/src/frames.cc File src/frames.cc (right): https://codereview.chromium.org/1764603003/diff/20001/src/frames.cc#newcode469 src/frames.cc:469: UNREACHABLE(); On 2016/03/03 21:11:52, JF wrote: > You'll already ...
4 years, 9 months ago (2016-03-03 21:39:10 UTC) #9
JF
https://codereview.chromium.org/1764603003/diff/20001/src/frames.cc File src/frames.cc (right): https://codereview.chromium.org/1764603003/diff/20001/src/frames.cc#newcode469 src/frames.cc:469: UNREACHABLE(); On 2016/03/03 21:39:10, bradn wrote: > On 2016/03/03 ...
4 years, 9 months ago (2016-03-03 21:58:33 UTC) #10
titzer
On 2016/03/03 21:58:33, JF wrote: > https://codereview.chromium.org/1764603003/diff/20001/src/frames.cc > File src/frames.cc (right): > > https://codereview.chromium.org/1764603003/diff/20001/src/frames.cc#newcode469 > ...
4 years, 9 months ago (2016-03-03 21:59:52 UTC) #11
titzer
https://codereview.chromium.org/1764603003/diff/40001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/1764603003/diff/40001/src/objects.h#newcode4911 src/objects.h:4911: enum WasmFunctionType { After having a look at this, ...
4 years, 9 months ago (2016-03-03 22:48:21 UTC) #12
bradn
https://codereview.chromium.org/1764603003/diff/40001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/1764603003/diff/40001/src/objects.h#newcode4911 src/objects.h:4911: enum WasmFunctionType { On 2016/03/03 22:48:21, titzer wrote: > ...
4 years, 9 months ago (2016-03-03 23:17:29 UTC) #13
titzer
lgtm, thanks! https://codereview.chromium.org/1764603003/diff/60001/src/log.cc File src/log.cc (right): https://codereview.chromium.org/1764603003/diff/60001/src/log.cc#newcode1583 src/log.cc:1583: description = "A JavaScript to Wasm thunk"; ...
4 years, 9 months ago (2016-03-03 23:25:05 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1764603003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1764603003/80001
4 years, 9 months ago (2016-03-03 23:28:44 UTC) #17
bradn
https://codereview.chromium.org/1764603003/diff/60001/src/log.cc File src/log.cc (right): https://codereview.chromium.org/1764603003/diff/60001/src/log.cc#newcode1583 src/log.cc:1583: description = "A JavaScript to Wasm thunk"; On 2016/03/03 ...
4 years, 9 months ago (2016-03-03 23:28:49 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/11843)
4 years, 9 months ago (2016-03-03 23:32:21 UTC) #20
bradn
+yangguo for OWNERS
4 years, 9 months ago (2016-03-03 23:35:20 UTC) #23
Yang
On 2016/03/03 23:35:20, bradn wrote: > +yangguo for OWNERS lgtm
4 years, 9 months ago (2016-03-04 04:42:29 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1764603003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1764603003/80001
4 years, 9 months ago (2016-03-04 04:43:26 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-04 04:45:27 UTC) #28
commit-bot: I haz the power
4 years, 9 months ago (2016-03-04 04:45:52 UTC) #30
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/530cc16460b14544760c06484a4aec2413cbd79d
Cr-Commit-Position: refs/heads/master@{#34476}

Powered by Google App Engine
This is Rietveld 408576698