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

Issue 2651793003: [wasm] Test argument passing in the interpreter entry (Closed)

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

Description

[wasm] Test argument passing in the interpreter entry Test the wasm interpreter entry stub by creating two wasm functions A and B, make A pass arguments to B, then redirect B to be executed in the interpreter. Test different number and types or arguments. BUG=v8:5822 R=titzer@chromium.org Review-Url: https://codereview.chromium.org/2651793003 Cr-Commit-Position: refs/heads/master@{#43353} Committed: https://chromium.googlesource.com/v8/v8/+/e6819ee286c2041f9a668346f519e6fb7db9708f

Patch Set 1 #

Patch Set 2 : Remove obsolete test case #

Patch Set 3 : Fix windows issue #

Patch Set 4 : Make windows happy? #

Patch Set 5 : Windows! Be nice... #

Patch Set 6 : Check that we actually executed in the interpreter #

Patch Set 7 : Remove unused variable #

Patch Set 8 : Use CHECK_DOUBLE_EQ to check the result #

Total comments: 3

Patch Set 9 : Remove template magic #

Patch Set 10 : Use compiler::ValueHelper to get interesting test inputs #

Patch Set 11 : Make dependent on mircaes fix #

Total comments: 4

Patch Set 12 : Naming #

Unified diffs Side-by-side diffs Delta from patch set Stats (+318 lines, -36 lines) Patch
M src/wasm/wasm-debug.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +43 lines, -25 lines 0 comments Download
M src/wasm/wasm-interpreter.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M src/wasm/wasm-interpreter.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +8 lines, -0 lines 0 comments Download
M src/wasm/wasm-macro-gen.h View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -9 lines 0 comments Download
M src/wasm/wasm-objects.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +10 lines, -0 lines 0 comments Download
M test/cctest/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/cctest.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
A test/cctest/wasm/test-wasm-interpreter-entry.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +231 lines, -0 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +10 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 64 (55 generated)
Clemens Hammacher
This is a monster of C++ templates, but it is able to test the interpreter ...
3 years, 10 months ago (2017-01-25 15:42:52 UTC) #35
Clemens Hammacher
On 2017/01/25 at 15:42:52, Clemens Hammacher wrote: > This is a monster of C++ templates, ...
3 years, 10 months ago (2017-02-15 14:54:38 UTC) #36
titzer
https://codereview.chromium.org/2651793003/diff/140001/test/cctest/wasm/test-wasm-interpreter-entry.cc File test/cctest/wasm/test-wasm-interpreter-entry.cc (right): https://codereview.chromium.org/2651793003/diff/140001/test/cctest/wasm/test-wasm-interpreter-entry.cc#newcode2 test/cctest/wasm/test-wasm-interpreter-entry.cc:2: // Use of this source code is governed by ...
3 years, 10 months ago (2017-02-16 13:22:10 UTC) #37
Clemens Hammacher
https://codereview.chromium.org/2651793003/diff/140001/test/cctest/wasm/test-wasm-interpreter-entry.cc File test/cctest/wasm/test-wasm-interpreter-entry.cc (right): https://codereview.chromium.org/2651793003/diff/140001/test/cctest/wasm/test-wasm-interpreter-entry.cc#newcode2 test/cctest/wasm/test-wasm-interpreter-entry.cc:2: // Use of this source code is governed by ...
3 years, 10 months ago (2017-02-21 14:37:39 UTC) #45
Clemens Hammacher
This now depends on mircaes CL about finalizing managed objects, and now it's green (no ...
3 years, 10 months ago (2017-02-21 17:09:08 UTC) #52
titzer
lgtm modulo naming nit https://codereview.chromium.org/2651793003/diff/200001/src/wasm/wasm-interpreter.cc File src/wasm/wasm-interpreter.cc (right): https://codereview.chromium.org/2651793003/diff/200001/src/wasm/wasm-interpreter.cc#newcode1066 src/wasm/wasm-interpreter.cc:1066: ++interpreted_functions_; called_functions_? https://codereview.chromium.org/2651793003/diff/200001/src/wasm/wasm-objects.h File src/wasm/wasm-objects.h ...
3 years, 10 months ago (2017-02-21 17:13:37 UTC) #53
Clemens Hammacher
https://codereview.chromium.org/2651793003/diff/200001/src/wasm/wasm-interpreter.cc File src/wasm/wasm-interpreter.cc (right): https://codereview.chromium.org/2651793003/diff/200001/src/wasm/wasm-interpreter.cc#newcode1066 src/wasm/wasm-interpreter.cc:1066: ++interpreted_functions_; On 2017/02/21 at 17:13:37, titzer wrote: > called_functions_? ...
3 years, 10 months ago (2017-02-21 17:51:14 UTC) #56
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/2651793003/220001
3 years, 10 months ago (2017-02-21 18:19:36 UTC) #61
commit-bot: I haz the power
3 years, 10 months ago (2017-02-21 18:21:40 UTC) #64
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/v8/v8/+/e6819ee286c2041f9a668346f519e6fb7db...

Powered by Google App Engine
This is Rietveld 408576698