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

Issue 1912103002: [wasm] Store function names in the wasm object (Closed)

Created:
4 years, 8 months ago by Clemens Hammacher
Modified:
4 years, 7 months ago
CC:
Hannes Payer (out of office), ulan, v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@wasm-offset-table-2
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Store function names in the wasm object We now store the wasm object and the function index in the deoptimization data of the wasm Code object, and store an array with function names in the wasm object. This will make both the wasm module as well as the respective function name available from the code object. Tests will follow in https://codereview.chromium.org/1916403002. R=titzer@chromium.org, mstarzinger@chromium.org, machenbach@chromium.org Committed: https://crrev.com/9fd2650ae0c7bf01b381d485997f632740ecc887 Cr-Commit-Position: refs/heads/master@{#35905}

Patch Set 1 #

Patch Set 2 : fix gcmole and signed/unsigned comparison issue #

Total comments: 16

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -14 lines) Patch
M BUILD.gn View 1 2 3 3 chunks +4 lines, -2 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 2 3 2 chunks +18 lines, -2 lines 0 comments Download
M src/v8.gyp View 1 2 3 4 2 chunks +6 lines, -4 lines 0 comments Download
A src/wasm/wasm-function-name-table.h View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A src/wasm/wasm-function-name-table.cc View 1 2 3 1 chunk +71 lines, -0 lines 0 comments Download
M src/wasm/wasm-module.h View 1 2 3 4 3 chunks +15 lines, -0 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 4 chunks +22 lines, -1 line 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 2 3 1 chunk +21 lines, -5 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (8 generated)
Clemens Hammacher
4 years, 8 months ago (2016-04-22 09:59:57 UTC) #1
Michael Starzinger
https://codereview.chromium.org/1912103002/diff/20001/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/1912103002/diff/20001/src/compiler/pipeline.cc#newcode1320 src/compiler/pipeline.cc:1320: Factory* factory = info->isolate()->factory(); Can we move all of ...
4 years, 8 months ago (2016-04-22 11:59:35 UTC) #4
titzer
https://codereview.chromium.org/1912103002/diff/20001/src/compiler/pipeline.h File src/compiler/pipeline.h (right): https://codereview.chromium.org/1912103002/diff/20001/src/compiler/pipeline.h#newcode41 src/compiler/pipeline.h:41: Handle<Object> wasm_obj = Handle<Object>(), uint32_t func_index = 0); Let's ...
4 years, 8 months ago (2016-04-22 13:21:08 UTC) #5
Clemens Hammacher
https://codereview.chromium.org/1912103002/diff/20001/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/1912103002/diff/20001/src/compiler/pipeline.cc#newcode1320 src/compiler/pipeline.cc:1320: Factory* factory = info->isolate()->factory(); On 2016/04/22 at 11:59:35, Michael ...
4 years, 8 months ago (2016-04-22 14:38:40 UTC) #6
titzer
https://codereview.chromium.org/1912103002/diff/20001/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/1912103002/diff/20001/src/compiler/pipeline.cc#newcode1320 src/compiler/pipeline.cc:1320: Factory* factory = info->isolate()->factory(); On 2016/04/22 14:38:40, Clemens Hammacher ...
4 years, 8 months ago (2016-04-25 11:15:05 UTC) #7
Clemens Hammacher
Everything changed as recommended. +machenbach for the change in tools/gyp/v8.gyp. PTAL.
4 years, 8 months ago (2016-04-26 12:46:33 UTC) #10
Michael Achenbach
lgtm on gyp
4 years, 8 months ago (2016-04-26 12:48:27 UTC) #11
Michael Starzinger
LGTM on the plumbing outside of WASM from my end.
4 years, 8 months ago (2016-04-26 13:03:19 UTC) #12
Clemens Hammacher
@titzer: LGTY now?
4 years, 7 months ago (2016-04-28 14:41:35 UTC) #14
titzer
On 2016/04/28 14:41:35, Clemens Hammacher wrote: > @titzer: LGTY now? lgtm
4 years, 7 months ago (2016-04-29 11:46:17 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912103002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1912103002/80001
4 years, 7 months ago (2016-04-29 12:13:05 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-04-29 12:25:05 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-05-01 22:03:48 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9fd2650ae0c7bf01b381d485997f632740ecc887
Cr-Commit-Position: refs/heads/master@{#35905}

Powered by Google App Engine
This is Rietveld 408576698