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

Issue 2091533002: [wasm] Consolidate CompileAndRunWasmModule (Closed)

Created:
4 years, 6 months ago by Mircea Trofin
Modified:
4 years, 6 months ago
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] Consolidate CompileAndRunWasmModule Remove second wasm module compilation and instantiation path that we had in CompileAndRunWasmModule and reuse the same path used by user code. BUG= Committed: https://crrev.com/0b98dbcc1ed4e87b4f83630a87cae95a05cb500c Cr-Commit-Position: refs/heads/master@{#37203}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -120 lines) Patch
M src/wasm/wasm-module.h View 2 chunks +9 lines, -9 lines 0 comments Download
M src/wasm/wasm-module.cc View 2 chunks +68 lines, -100 lines 2 comments Download
M test/cctest/wasm/test-run-wasm-module.cc View 7 chunks +13 lines, -7 lines 0 comments Download
M test/fuzzer/wasm.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/fuzzer/wasm-asmjs.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
Mircea Trofin
4 years, 6 months ago (2016-06-22 20:41:45 UTC) #3
bradnelson
lgtm
4 years, 6 months ago (2016-06-22 21:01:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2091533002/1
4 years, 6 months ago (2016-06-22 21:01:24 UTC) #6
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/17802)
4 years, 6 months ago (2016-06-22 21:05:03 UTC) #8
Mircea Trofin
Dan, could you please take a look - the fuzzer changes are just naming changes. ...
4 years, 6 months ago (2016-06-22 21:12:26 UTC) #10
Dan Ehrenberg
lgtm
4 years, 6 months ago (2016-06-22 21:35:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2091533002/1
4 years, 6 months ago (2016-06-22 21:37:01 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-22 21:38:56 UTC) #15
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/0b98dbcc1ed4e87b4f83630a87cae95a05cb500c Cr-Commit-Position: refs/heads/master@{#37203}
4 years, 6 months ago (2016-06-22 21:39:30 UTC) #17
ahaas
very nice! https://codereview.chromium.org/2091533002/diff/1/src/wasm/wasm-module.cc File src/wasm/wasm-module.cc (right): https://codereview.chromium.org/2091533002/diff/1/src/wasm/wasm-module.cc#newcode1045 src/wasm/wasm-module.cc:1045: decoding_result.error_msg.get()); Should you not return here?
4 years, 6 months ago (2016-06-23 13:49:19 UTC) #19
Mircea Trofin
4 years, 6 months ago (2016-06-23 15:04:14 UTC) #20
Message was sent while issue was closed.
https://codereview.chromium.org/2091533002/diff/1/src/wasm/wasm-module.cc
File src/wasm/wasm-module.cc (right):

https://codereview.chromium.org/2091533002/diff/1/src/wasm/wasm-module.cc#new...
src/wasm/wasm-module.cc:1045: decoding_result.error_msg.get());
On 2016/06/23 13:49:19, ahaas wrote:
> Should you not return here?

Good catch - yes, we should.

Powered by Google App Engine
This is Rietveld 408576698