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

Issue 2629523007: [wasm] JS-API: enable WebAssembly.instantiate tests; fix LinkError (Closed)

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

Description

[wasm] JS-API: enable WebAssembly.instantiate tests; fix LinkError We weren't throwing LinkError where appropriate progress BUG=v8:5835 Review-Url: https://codereview.chromium.org/2629523007 Cr-Commit-Position: refs/heads/master@{#42342} Committed: https://chromium.googlesource.com/v8/v8/+/f8fd6ec3dd89cf1278c0ac00d5ae9e0f480e4d4a

Patch Set 1 #

Patch Set 2 : fix errors.js #

Total comments: 8

Patch Set 3 : Fixes #

Total comments: 1

Patch Set 4 : Imports can be more than fcts #

Total comments: 2

Patch Set 5 : moved import validation #

Total comments: 2

Patch Set 6 : initialize module_ upfront #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -87 lines) Patch
M src/asmjs/asm-js.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/wasm/wasm-js.cc View 1 2 3 4 5 chunks +9 lines, -4 lines 0 comments Download
M src/wasm/wasm-module.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 5 9 chunks +26 lines, -17 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-module.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/mjsunit/wasm/errors.js View 1 2 7 chunks +30 lines, -10 lines 0 comments Download
M test/mjsunit/wasm/js-api.js View 1 2 3 3 chunks +70 lines, -50 lines 1 comment Download

Messages

Total messages: 44 (29 generated)
Mircea Trofin
3 years, 11 months ago (2017-01-12 22:17:44 UTC) #5
rossberg
https://codereview.chromium.org/2629523007/diff/20001/src/wasm/wasm-module.cc File src/wasm/wasm-module.cc (right): https://codereview.chromium.org/2629523007/diff/20001/src/wasm/wasm-module.cc#newcode1490 src/wasm/wasm-module.cc:1490: return ReportLinkError("FFI is not an object", index, module_name); This ...
3 years, 11 months ago (2017-01-12 23:59:53 UTC) #10
Mircea Trofin
https://codereview.chromium.org/2629523007/diff/20001/src/wasm/wasm-module.cc File src/wasm/wasm-module.cc (right): https://codereview.chromium.org/2629523007/diff/20001/src/wasm/wasm-module.cc#newcode1490 src/wasm/wasm-module.cc:1490: return ReportLinkError("FFI is not an object", index, module_name); On ...
3 years, 11 months ago (2017-01-13 03:57:47 UTC) #15
rossberg
lgtm https://codereview.chromium.org/2629523007/diff/40001/src/wasm/wasm-module.cc File src/wasm/wasm-module.cc (right): https://codereview.chromium.org/2629523007/diff/40001/src/wasm/wasm-module.cc#newcode1489 src/wasm/wasm-module.cc:1489: // a JSObject, if the module has imports. ...
3 years, 11 months ago (2017-01-13 08:59:13 UTC) #18
Mircea Trofin
On 2017/01/13 08:59:13, rossberg wrote: > lgtm > > https://codereview.chromium.org/2629523007/diff/40001/src/wasm/wasm-module.cc > File src/wasm/wasm-module.cc (right): > ...
3 years, 11 months ago (2017-01-13 16:15:05 UTC) #19
titzer
https://codereview.chromium.org/2629523007/diff/60001/src/wasm/wasm-js.cc File src/wasm/wasm-js.cc (right): https://codereview.chromium.org/2629523007/diff/60001/src/wasm/wasm-js.cc#newcode214 src/wasm/wasm-js.cc:214: if (!i_module_obj->compiled_module()->module()->import_table.empty() && I think it's better if we ...
3 years, 11 months ago (2017-01-13 16:47:02 UTC) #22
Mircea Trofin
moved import validation + some comments https://codereview.chromium.org/2629523007/diff/60001/src/wasm/wasm-js.cc File src/wasm/wasm-js.cc (right): https://codereview.chromium.org/2629523007/diff/60001/src/wasm/wasm-js.cc#newcode214 src/wasm/wasm-js.cc:214: if (!i_module_obj->compiled_module()->module()->import_table.empty() && ...
3 years, 11 months ago (2017-01-13 17:02:56 UTC) #25
titzer
lgtm with comment https://codereview.chromium.org/2629523007/diff/80001/src/wasm/wasm-module.cc File src/wasm/wasm-module.cc (right): https://codereview.chromium.org/2629523007/diff/80001/src/wasm/wasm-module.cc#newcode1138 src/wasm/wasm-module.cc:1138: if (!module_object_->compiled_module()->module()->import_table.empty() && Can you do ...
3 years, 11 months ago (2017-01-13 17:20:43 UTC) #26
Mircea Trofin
https://codereview.chromium.org/2629523007/diff/80001/src/wasm/wasm-module.cc File src/wasm/wasm-module.cc (right): https://codereview.chromium.org/2629523007/diff/80001/src/wasm/wasm-module.cc#newcode1138 src/wasm/wasm-module.cc:1138: if (!module_object_->compiled_module()->module()->import_table.empty() && On 2017/01/13 17:20:43, titzer wrote: > ...
3 years, 11 months ago (2017-01-13 20:17:19 UTC) #31
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/2629523007/100001
3 years, 11 months ago (2017-01-13 20:45:43 UTC) #36
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/v8/v8/+/f8fd6ec3dd89cf1278c0ac00d5ae9e0f480e4d4a
3 years, 11 months ago (2017-01-13 20:47:51 UTC) #39
Derek Schuff
https://codereview.chromium.org/2629523007/diff/100001/test/mjsunit/wasm/js-api.js File test/mjsunit/wasm/js-api.js (right): https://codereview.chromium.org/2629523007/diff/100001/test/mjsunit/wasm/js-api.js#newcode628 test/mjsunit/wasm/js-api.js:628: assertEq(result instanceof Instance, true); Drive-by review! This is a ...
3 years, 11 months ago (2017-01-20 01:46:19 UTC) #41
Mircea Trofin
On 2017/01/20 01:46:19, Derek Schuff wrote: > https://codereview.chromium.org/2629523007/diff/100001/test/mjsunit/wasm/js-api.js > File test/mjsunit/wasm/js-api.js (right): > > https://codereview.chromium.org/2629523007/diff/100001/test/mjsunit/wasm/js-api.js#newcode628 ...
3 years, 11 months ago (2017-01-20 01:55:21 UTC) #42
Mircea Trofin
On 2017/01/20 01:55:21, Mircea Trofin wrote: > On 2017/01/20 01:46:19, Derek Schuff wrote: > > ...
3 years, 11 months ago (2017-01-20 03:57:25 UTC) #43
rossberg
3 years, 11 months ago (2017-01-20 07:38:11 UTC) #44
Message was sent while issue was closed.
On 2017/01/20 03:57:25, Mircea Trofin wrote:
> Opened crbug.com/5875

Correct link: https://bugs.chromium.org/p/v8/issues/detail?id=5875&desc=2

Powered by Google App Engine
This is Rietveld 408576698