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

Issue 2350643003: [wasm] Set up Table and Memory constructors (Closed)

Created:
4 years, 3 months ago by ahaas
Modified:
4 years, 3 months ago
Reviewers:
gdeepti, titzer, rossberg
CC:
rmcilroy, v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Set up Table and Memory constructors Set up Wasm Table and Memory constructors This only provides skeletons so far: the constructors work, but the types are not wired up with the import/export mechanism yet; methods are still nops. Also, fix errors generated from Wasm to be proper Error/TypeError instances instead of just strings. I took over this CL from rossberg@chromium.org. The original CL is https://codereview.chromium.org/2342623002 R=titzer@chromium.org, rossberg@chromium.org Committed: https://crrev.com/698bbe418aaab8c7e41090eab9400440ce7a498f Cr-Commit-Position: refs/heads/master@{#39588}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+480 lines, -73 lines) Patch
M src/api.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M src/contexts.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/wasm/wasm-js.h View 1 1 chunk +7 lines, -2 lines 0 comments Download
M src/wasm/wasm-js.cc View 1 14 chunks +316 lines, -52 lines 0 comments Download
M src/wasm/wasm-result.h View 1 chunk +12 lines, -8 lines 0 comments Download
M src/wasm/wasm-result.cc View 2 chunks +32 lines, -7 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/CallRuntime.golden View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M test/common/wasm/wasm-module-runner.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A test/mjsunit/wasm/memory.js View 1 1 chunk +51 lines, -0 lines 0 comments Download
A test/mjsunit/wasm/table.js View 1 1 chunk +51 lines, -0 lines 0 comments Download
M test/mjsunit/wasm/unicode-validation.js View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
ahaas
4 years, 3 months ago (2016-09-19 14:01:46 UTC) #1
titzer
lgtm with comment https://codereview.chromium.org/2350643003/diff/1/src/wasm/wasm-js.cc File src/wasm/wasm-js.cc (right): https://codereview.chromium.org/2350643003/diff/1/src/wasm/wasm-js.cc#newcode342 src/wasm/wasm-js.cc:342: int64_t number; Can we factor out ...
4 years, 3 months ago (2016-09-20 12:37:21 UTC) #6
ahaas
Ben, PTAL https://codereview.chromium.org/2350643003/diff/1/src/wasm/wasm-js.cc File src/wasm/wasm-js.cc (right): https://codereview.chromium.org/2350643003/diff/1/src/wasm/wasm-js.cc#newcode342 src/wasm/wasm-js.cc:342: int64_t number; On 2016/09/20 at 12:37:21, titzer ...
4 years, 3 months ago (2016-09-21 09:38:11 UTC) #10
titzer
lgtm https://codereview.chromium.org/2350643003/diff/1/src/wasm/wasm-js.cc File src/wasm/wasm-js.cc (right): https://codereview.chromium.org/2350643003/diff/1/src/wasm/wasm-js.cc#newcode590 src/wasm/wasm-js.cc:590: Handle<JSFunction> module_constructor = On 2016/09/21 09:38:11, ahaas wrote: ...
4 years, 3 months ago (2016-09-21 09:47:44 UTC) #11
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/2350643003/20001
4 years, 3 months ago (2016-09-21 10:33:22 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-21 10:40:19 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-09-21 10:40:42 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/698bbe418aaab8c7e41090eab9400440ce7a498f
Cr-Commit-Position: refs/heads/master@{#39588}

Powered by Google App Engine
This is Rietveld 408576698