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

Issue 2121593002: [wasm] Compile and Instantiation (Closed)

Created:
4 years, 5 months ago by Mircea Trofin
Modified:
4 years, 5 months ago
Reviewers:
rossberg
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] Compile and Instantiation Implemented the WebAssembly.Module and WebAssembly.Instance in terms of the WasmModule::CompileFunctions and WasmModule::Instantiate APIs. Added negative tests - for invalid module object. BUG= Committed: https://crrev.com/bd03c6429739592cd587a1803b8dcca271838fe6 Cr-Commit-Position: refs/heads/master@{#37775}

Patch Set 1 #

Patch Set 2 : test #

Total comments: 10

Patch Set 3 : instantiation tests #

Patch Set 4 : async #

Patch Set 5 : module_sym #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -24 lines) Patch
M src/asmjs/asm-js.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/wasm/wasm-js.cc View 1 2 3 4 5 chunks +68 lines, -15 lines 0 comments Download
M src/wasm/wasm-module.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 4 chunks +8 lines, -7 lines 0 comments Download
M test/mjsunit/wasm/instantiate-module-basic.js View 1 2 3 1 chunk +95 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (14 generated)
Mircea Trofin
ptal
4 years, 5 months ago (2016-07-04 06:29:09 UTC) #3
rossberg
https://codereview.chromium.org/2121593002/diff/20001/src/wasm/wasm-js.cc File src/wasm/wasm-js.cc (right): https://codereview.chromium.org/2121593002/diff/20001/src/wasm/wasm-js.cc#newcode322 src/wasm/wasm-js.cc:322: if (compiled_module.is_null()) return nothing; It seems like CompileFunctions eagerly ...
4 years, 5 months ago (2016-07-04 10:04:00 UTC) #4
Mircea Trofin
https://codereview.chromium.org/2121593002/diff/20001/src/wasm/wasm-js.cc File src/wasm/wasm-js.cc (right): https://codereview.chromium.org/2121593002/diff/20001/src/wasm/wasm-js.cc#newcode388 src/wasm/wasm-js.cc:388: if (args.Length() < 1 || !args[0]->IsObject()) { On 2016/07/04 ...
4 years, 5 months ago (2016-07-05 06:02:43 UTC) #5
Mircea Trofin
FYI - post-landing the cloning CL, multi-instantiation tests should pass, as seen here. Note that ...
4 years, 5 months ago (2016-07-12 02:51:50 UTC) #7
Mircea Trofin
On 2016/07/12 02:51:50, Mircea Trofin wrote: > FYI - post-landing the cloning CL, multi-instantiation tests ...
4 years, 5 months ago (2016-07-12 21:38:25 UTC) #8
rossberg
On 2016/07/12 21:38:25, Mircea Trofin wrote: > On 2016/07/12 02:51:50, Mircea Trofin wrote: > > ...
4 years, 5 months ago (2016-07-13 10:28:51 UTC) #9
Mircea Trofin
On 2016/07/13 10:28:51, rossberg wrote: > On 2016/07/12 21:38:25, Mircea Trofin wrote: > > On ...
4 years, 5 months ago (2016-07-13 17:57:27 UTC) #14
rossberg
https://codereview.chromium.org/2121593002/diff/20001/src/wasm/wasm-js.cc File src/wasm/wasm-js.cc (right): https://codereview.chromium.org/2121593002/diff/20001/src/wasm/wasm-js.cc#newcode388 src/wasm/wasm-js.cc:388: if (args.Length() < 1 || !args[0]->IsObject()) { On 2016/07/05 ...
4 years, 5 months ago (2016-07-14 13:30:28 UTC) #15
Mircea Trofin
PTAL - thanks for your patience, and sorry for the back-and-forth. It looks like I ...
4 years, 5 months ago (2016-07-14 16:02:58 UTC) #18
rossberg
LGTM > Re. the module_sym, I also needed to check that the source is not ...
4 years, 5 months ago (2016-07-14 16:23:59 UTC) #21
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/2121593002/100001
4 years, 5 months ago (2016-07-14 16:25:36 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 5 months ago (2016-07-14 16:27:57 UTC) #25
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 16:31:20 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/bd03c6429739592cd587a1803b8dcca271838fe6
Cr-Commit-Position: refs/heads/master@{#37775}

Powered by Google App Engine
This is Rietveld 408576698