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

Issue 2529383002: [inspector] Split off interface-types.h (Closed)

Created:
4 years ago by Clemens Hammacher
Modified:
4 years ago
Reviewers:
kozy, titzer, Yang
CC:
devtools-reviews_chromium.org, jgruber, v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] Split off interface-types.h This CL adds a new header src/debug/interface-types.h, moves the definition of Location from the debug-interface.h to this new header, and adds a new definition for the WasmDisassembly types. This allows to use the types in other implementation files or headers without having to include the entire debug-interface.h, reducing build dependencies and compile time (especially for incremental builds). The WasmDisassembly type replaces the old std::pair<std::string, std::vector<std::tuple<...>>>, which was a bit hard to unravel. R=yangguo@chromium.org, kozyatinskiy@chromium.org, titzer@chromium.org Committed: https://crrev.com/f5fb2da64cfd7adff84e6ebbfbaac24e3c47cdba Cr-Commit-Position: refs/heads/master@{#41488}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Split off interface-types.h #

Patch Set 3 : Add missing file #

Patch Set 4 : Add missing namespace #

Patch Set 5 : Come on, windows, be nice... #

Patch Set 6 : Rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -104 lines) Patch
M BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/api.cc View 1 2 3 4 5 5 chunks +20 lines, -21 lines 0 comments Download
M src/debug/debug-interface.h View 1 5 chunks +9 lines, -30 lines 0 comments Download
A src/debug/interface-types.h View 1 2 1 chunk +65 lines, -0 lines 2 comments Download
M src/inspector/v8-debugger-agent-impl.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M src/inspector/v8-debugger-script.h View 1 1 chunk +3 lines, -4 lines 0 comments Download
M src/inspector/v8-debugger-script.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M src/inspector/wasm-translation.cc View 1 7 chunks +21 lines, -23 lines 0 comments Download
M src/v8.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/wasm/wasm-module.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 5 2 chunks +2 lines, -3 lines 0 comments Download
M src/wasm/wasm-objects.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M src/wasm/wasm-objects.cc View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M src/wasm/wasm-text.h View 1 2 chunks +9 lines, -4 lines 0 comments Download
M src/wasm/wasm-text.cc View 1 2 3 4 5 4 chunks +8 lines, -6 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 57 (41 generated)
Clemens Hammacher
Yang, is this an acceptable solution to improve readability? It requires us to include the ...
4 years ago (2016-11-28 14:09:01 UTC) #8
kozy
https://codereview.chromium.org/2529383002/diff/1/src/debug/debug-interface.h File src/debug/debug-interface.h (right): https://codereview.chromium.org/2529383002/diff/1/src/debug/debug-interface.h#newcode212 src/debug/debug-interface.h:212: using offset_table_entry = std::tuple<uint32_t, int, int>; Could we replace ...
4 years ago (2016-11-29 23:52:45 UTC) #10
Clemens Hammacher
On 2016/11/29 at 23:52:45, kozyatinskiy wrote: > https://codereview.chromium.org/2529383002/diff/1/src/debug/debug-interface.h#newcode212 > src/debug/debug-interface.h:212: using offset_table_entry = std::tuple<uint32_t, int, ...
4 years ago (2016-11-30 17:06:20 UTC) #23
titzer
On 2016/11/30 17:06:20, Clemens Hammacher wrote: > On 2016/11/29 at 23:52:45, kozyatinskiy wrote: > > ...
4 years ago (2016-11-30 17:09:05 UTC) #26
kozy
On 2016/11/30 17:06:20, Clemens Hammacher wrote: > On 2016/11/29 at 23:52:45, kozyatinskiy wrote: > > ...
4 years ago (2016-11-30 17:28:15 UTC) #29
Clemens Hammacher
On 2016/11/30 at 17:28:15, kozyatinskiy wrote: > On 2016/11/30 17:06:20, Clemens Hammacher wrote: > > ...
4 years ago (2016-11-30 17:46:05 UTC) #32
titzer
On 2016/11/30 17:46:05, Clemens Hammacher wrote: > On 2016/11/30 at 17:28:15, kozyatinskiy wrote: > > ...
4 years ago (2016-11-30 18:02:37 UTC) #33
kozy
On 2016/11/30 17:46:05, Clemens Hammacher wrote: > There is another problem with the types defined ...
4 years ago (2016-11-30 18:02:53 UTC) #34
titzer
On 2016/11/30 18:02:53, kozyatinskiy wrote: > On 2016/11/30 17:46:05, Clemens Hammacher wrote: > > There ...
4 years ago (2016-12-02 13:47:40 UTC) #40
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/2529383002/100001
4 years ago (2016-12-02 14:01:35 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/29866)
4 years ago (2016-12-02 14:05:04 UTC) #45
Yang
LGTM with comment https://codereview.chromium.org/2529383002/diff/100001/src/debug/interface-types.h File src/debug/interface-types.h (right): https://codereview.chromium.org/2529383002/diff/100001/src/debug/interface-types.h#newcode13 src/debug/interface-types.h:13: namespace debug { Having Location in ...
4 years ago (2016-12-05 12:44:49 UTC) #46
Clemens Hammacher
https://codereview.chromium.org/2529383002/diff/100001/src/debug/interface-types.h File src/debug/interface-types.h (right): https://codereview.chromium.org/2529383002/diff/100001/src/debug/interface-types.h#newcode13 src/debug/interface-types.h:13: namespace debug { On 2016/12/05 at 12:44:49, Yang wrote: ...
4 years ago (2016-12-05 13:30:05 UTC) #52
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/2529383002/100001
4 years ago (2016-12-05 13:30:11 UTC) #53
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-05 13:32:12 UTC) #55
commit-bot: I haz the power
4 years ago (2016-12-05 13:32:32 UTC) #57
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f5fb2da64cfd7adff84e6ebbfbaac24e3c47cdba
Cr-Commit-Position: refs/heads/master@{#41488}

Powered by Google App Engine
This is Rietveld 408576698