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

Issue 2806303002: [debug,api] Do not use embedder field for debug context id. (Closed)

Created:
3 years, 8 months ago by Yang
Modified:
3 years, 8 months ago
CC:
devtools-reviews_chromium.org, v8-reviews_googlegroups.com, wasm-v8_google.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[debug,api] Do not use embedder field for debug context id. We used to reserve the 0-th embedder data field for the debug context id. This is no longer necessary since the inspector has migrated to be part of V8. This makes the API a bit simpler. R=clemensh@chromium.org, jochen@chromium.org, kozyatinskiy@chromium.org BUG=v8:5530 Review-Url: https://codereview.chromium.org/2806303002 Cr-Commit-Position: refs/heads/master@{#44607} Committed: https://chromium.googlesource.com/v8/v8/+/5f90a6eb0675b79f2bc29ebfa05d30051d3bd23e

Patch Set 1 #

Total comments: 1

Patch Set 2 : restore enum #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -20 lines) Patch
M include/v8.h View 1 1 chunk +3 lines, -5 lines 0 comments Download
M src/api.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M src/contexts.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/d8.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M src/debug/debug.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/debug/debug-interface.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/inspector/inspected-context.cc View 3 chunks +3 lines, -6 lines 0 comments Download
M src/runtime/runtime-function.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 chunk +1 line, -2 lines 0 comments Download
M test/inspector/inspector-impl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (7 generated)
Yang
Please take a look. I will not land this before branch cut.
3 years, 8 months ago (2017-04-10 09:31:19 UTC) #1
jochen (gone - plz use gerrit)
maybe keep the constant around? It's not like it hurts anybody https://codereview.chromium.org/2806303002/diff/1/include/v8.h File include/v8.h (left): ...
3 years, 8 months ago (2017-04-10 12:50:34 UTC) #2
Yang
On 2017/04/10 12:50:34, jochen wrote: > maybe keep the constant around? It's not like it ...
3 years, 8 months ago (2017-04-10 12:53:12 UTC) #3
jochen (gone - plz use gerrit)
lgtm for v8.h :)
3 years, 8 months ago (2017-04-10 12:57:36 UTC) #6
kozy
thanks, lgtm. It looks like getting debugger context id should be much faster then before?
3 years, 8 months ago (2017-04-10 14:32:18 UTC) #9
Yang
On 2017/04/10 14:32:18, kozy wrote: > thanks, lgtm. > It looks like getting debugger context ...
3 years, 8 months ago (2017-04-10 14:51:05 UTC) #10
Yang
Clemens, ping :)
3 years, 8 months ago (2017-04-12 05:49:35 UTC) #11
Clemens Hammacher
On 2017/04/12 at 05:49:35, yangguo wrote: > Clemens, ping :) Thanks! LGTM
3 years, 8 months ago (2017-04-12 07:53:27 UTC) #12
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/2806303002/20001
3 years, 8 months ago (2017-04-12 10:58:33 UTC) #14
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 11:24:52 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/5f90a6eb0675b79f2bc29ebfa05d30051d3...

Powered by Google App Engine
This is Rietveld 408576698