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

Issue 2690113012: [wasm] Identify wasm functions with index into the function tables. (Closed)

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

Description

[wasm] Identify wasm functions with index into the function tables. Currently, the default name for wasm functions in generated code is 'wasm', tag wasm functions with the index into the function table to identify functions. Snippets of sample output with --print-code below. Before: --- Code --- kind = WASM_FUNCTION name = wasm compiler = turbofan After: --- Code --- kind = WASM_FUNCTION name = wasm#200 compiler = turbofan R=mtrofin@chromium.org Review-Url: https://codereview.chromium.org/2690113012 Cr-Original-Commit-Position: refs/heads/master@{#43296} Committed: https://chromium.googlesource.com/v8/v8/+/5fc3ac29e4d942ccb4c45f6cdcee75d0b394b296 Review-Url: https://codereview.chromium.org/2690113012 Cr-Commit-Position: refs/heads/master@{#43338} Committed: https://chromium.googlesource.com/v8/v8/+/684323b45c913e8a3dd8f80fc675bb45bc947746

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : Fix #

Total comments: 6

Patch Set 4 : Review comments + rebase #

Patch Set 5 : Fix #

Patch Set 6 : rebase #

Total comments: 2

Patch Set 7 : Review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -1 line) Patch
M src/compiler/wasm-compiler.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 4 5 2 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 44 (32 generated)
gdeepti
3 years, 10 months ago (2017-02-14 20:08:28 UTC) #3
Mircea Trofin
https://codereview.chromium.org/2690113012/diff/40001/src/compiler/wasm-compiler.h File src/compiler/wasm-compiler.h (right): https://codereview.chromium.org/2690113012/diff/40001/src/compiler/wasm-compiler.h#newcode52 src/compiler/wasm-compiler.h:52: wasm::WasmName function_name); You could pass this as const wasm::WasmName&, ...
3 years, 10 months ago (2017-02-14 20:36:53 UTC) #10
gdeepti
https://codereview.chromium.org/2690113012/diff/40001/src/compiler/wasm-compiler.h File src/compiler/wasm-compiler.h (right): https://codereview.chromium.org/2690113012/diff/40001/src/compiler/wasm-compiler.h#newcode52 src/compiler/wasm-compiler.h:52: wasm::WasmName function_name); On 2017/02/14 20:36:53, Mircea Trofin wrote: > ...
3 years, 10 months ago (2017-02-17 17:52:37 UTC) #21
Mircea Trofin
lgtm with 1 nit https://codereview.chromium.org/2690113012/diff/90001/src/compiler/wasm-compiler.h File src/compiler/wasm-compiler.h (right): https://codereview.chromium.org/2690113012/diff/90001/src/compiler/wasm-compiler.h#newcode77 src/compiler/wasm-compiler.h:77: char function_name_[128]; why 128? From ...
3 years, 10 months ago (2017-02-17 18:47:45 UTC) #24
gdeepti
https://codereview.chromium.org/2690113012/diff/90001/src/compiler/wasm-compiler.h File src/compiler/wasm-compiler.h (right): https://codereview.chromium.org/2690113012/diff/90001/src/compiler/wasm-compiler.h#newcode77 src/compiler/wasm-compiler.h:77: char function_name_[128]; On 2017/02/17 18:47:45, Mircea Trofin wrote: > ...
3 years, 10 months ago (2017-02-18 01:57:35 UTC) #29
gdeepti
https://codereview.chromium.org/2690113012/diff/90001/src/compiler/wasm-compiler.h File src/compiler/wasm-compiler.h (right): https://codereview.chromium.org/2690113012/diff/90001/src/compiler/wasm-compiler.h#newcode77 src/compiler/wasm-compiler.h:77: char function_name_[128]; On 2017/02/17 18:47:45, Mircea Trofin wrote: > ...
3 years, 10 months ago (2017-02-18 01:57:49 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/2690113012/110001
3 years, 10 months ago (2017-02-18 01:58:01 UTC) #33
commit-bot: I haz the power
Committed patchset #7 (id:110001) as https://chromium.googlesource.com/v8/v8/+/5fc3ac29e4d942ccb4c45f6cdcee75d0b394b296
3 years, 10 months ago (2017-02-18 01:59:47 UTC) #36
Michael Hablich
A revert of this CL (patchset #7 id:110001) has been created in https://codereview.chromium.org/2708593002/ by hablich@chromium.org. ...
3 years, 10 months ago (2017-02-20 07:30:30 UTC) #37
gdeepti
On 2017/02/20 07:30:30, Michael Hablich wrote: > A revert of this CL (patchset #7 id:110001) ...
3 years, 10 months ago (2017-02-21 08:39:59 UTC) #39
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/2690113012/110001
3 years, 10 months ago (2017-02-21 08:40:15 UTC) #41
commit-bot: I haz the power
3 years, 10 months ago (2017-02-21 09:30:31 UTC) #44
Message was sent while issue was closed.
Committed patchset #7 (id:110001) as
https://chromium.googlesource.com/v8/v8/+/684323b45c913e8a3dd8f80fc675bb45bc9...

Powered by Google App Engine
This is Rietveld 408576698