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

Issue 1840713002: [V8] Add FunctionMirror.prototype.contextDebugId method (Closed)

Created:
4 years, 8 months ago by kozy
Modified:
4 years, 8 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[V8] Add FunctionMirror.prototype.contextDebugId method This method returns contextDebugId for function. We can't use context_data from FunctionMirror.prototype.script because it can be incorrect when compilation cache is used and one script object was used for JSFunctions in different contexts. BUG=chromium:595206 LOG=Y R=yangguo@chromium.org Committed: https://crrev.com/2bcbd1e8e28efd97961222785dfe40fcd2581c55 Cr-Commit-Position: refs/heads/master@{#35117}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -0 lines) Patch
M src/debug/mirrors.js View 1 1 chunk +9 lines, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime-function.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
kozy
Yang, please take a look.
4 years, 8 months ago (2016-03-28 17:52:20 UTC) #2
Yang
It seems to me that ScriptMirror.context() is generally to be avoided due to compilation cache. ...
4 years, 8 months ago (2016-03-29 11:52:17 UTC) #3
Yang
4 years, 8 months ago (2016-03-29 11:52:23 UTC) #4
kozy
Yes, there is issue with using context_data on ScriptMirror. We use it for reporting loaded ...
4 years, 8 months ago (2016-03-29 17:45:15 UTC) #5
Yang
On 2016/03/29 17:45:15, kozyatinskiy wrote: > Yes, there is issue with using context_data on ScriptMirror. ...
4 years, 8 months ago (2016-03-29 17:50:45 UTC) #6
Yang
On 2016/03/29 17:50:45, Yang wrote: > On 2016/03/29 17:45:15, kozyatinskiy wrote: > > Yes, there ...
4 years, 8 months ago (2016-03-29 17:51:23 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1840713002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1840713002/20001
4 years, 8 months ago (2016-03-29 17:51:30 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-03-29 18:19:29 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-03-29 18:21:14 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2bcbd1e8e28efd97961222785dfe40fcd2581c55
Cr-Commit-Position: refs/heads/master@{#35117}

Powered by Google App Engine
This is Rietveld 408576698