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

Issue 1853123002: [wasm] Refactoring of wasm-external-refs. (Closed)

Created:
4 years, 8 months ago by ahaas
Modified:
4 years, 8 months ago
Reviewers:
titzer
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] Refactoring of wasm-external-refs. 1) I moved the implementations of the wrapper functions into a new cc file so that I can use these wrapper functions in tests. 2) I made a generic test for all tests in test-run-calls-to-external-references.cc. In the new test we only compare the result of a function call through an external reference with the result of a direct function call. This is sufficient because we only want to test function calls through external references work here. The implementation of these functions are tested somewhere else. R=titzer@chromium.org Committed: https://crrev.com/a7d3e24fd67a36d37efba9ca5b400642cb808169 Cr-Commit-Position: refs/heads/master@{#35289}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Additional include for windows. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -587 lines) Patch
M BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/wasm/wasm-external-refs.h View 2 chunks +28 lines, -152 lines 0 comments Download
A + src/wasm/wasm-external-refs.cc View 1 11 chunks +28 lines, -28 lines 0 comments Download
M test/cctest/compiler/test-run-calls-to-external-references.cc View 2 chunks +82 lines, -407 lines 0 comments Download
M tools/gyp/v8.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
ahaas
4 years, 8 months ago (2016-04-04 12:39:13 UTC) #1
titzer
lgtm modulo possible loss of test coverage. https://codereview.chromium.org/1853123002/diff/1/test/cctest/compiler/test-run-calls-to-external-references.cc File test/cctest/compiler/test-run-calls-to-external-references.cc (left): https://codereview.chromium.org/1853123002/diff/1/test/cctest/compiler/test-run-calls-to-external-references.cc#oldcode101 test/cctest/compiler/test-run-calls-to-external-references.cc:101: } values[] ...
4 years, 8 months ago (2016-04-04 12:45:30 UTC) #2
ahaas
https://codereview.chromium.org/1853123002/diff/1/test/cctest/compiler/test-run-calls-to-external-references.cc File test/cctest/compiler/test-run-calls-to-external-references.cc (left): https://codereview.chromium.org/1853123002/diff/1/test/cctest/compiler/test-run-calls-to-external-references.cc#oldcode101 test/cctest/compiler/test-run-calls-to-external-references.cc:101: } values[] = {{0x0, 0x0}, On 2016/04/04 at 12:45:30, ...
4 years, 8 months ago (2016-04-04 12:50:40 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1853123002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1853123002/1
4 years, 8 months ago (2016-04-04 12:50:46 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: v8_win_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_rel_ng/builds/5205) v8_win_rel_ng_triggered on tryserver.v8 (JOB_FAILED, ...
4 years, 8 months ago (2016-04-04 13:29:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1853123002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1853123002/20001
4 years, 8 months ago (2016-04-06 09:08:45 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-06 09:24:30 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 09:26:13 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a7d3e24fd67a36d37efba9ca5b400642cb808169
Cr-Commit-Position: refs/heads/master@{#35289}

Powered by Google App Engine
This is Rietveld 408576698