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

Issue 1449473005: [V8] Unify get function name for debugging purpose (Closed)

Created:
5 years, 1 month ago by kozy
Modified:
5 years, 1 month ago
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] Unify get function name for debugging purpose Following logic is using for getting function name in JSFunction::GetDebugName: 1. if function has displayName and its type is string then use it 2. if function has defined property Function.name as value and its type string then use it 3. otherwise use SharedFunctionInfo::DebugName as functionName. JSFunction::GetDebugName is exposed in V8 API and in FunctionMirror interface. BUG=chromium:17356 R=yangguo@chromium.org,mstarzinger@chromium.org LOG=Y Committed: https://crrev.com/89e859fb2b5cf5c30aca3492fdb6e98fa87950a3 Cr-Commit-Position: refs/heads/master@{#32124}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -2 lines) Patch
M include/v8.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M src/api.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M src/debug/mirrors.js View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M src/heap/heap.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/messages.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/objects.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 2 chunks +10 lines, -1 line 0 comments Download
M src/runtime/runtime.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime-debug.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download
M test/cctest/test-api.cc View 1 4 chunks +134 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (14 generated)
kozy
Yang, please take a look.
5 years, 1 month ago (2015-11-13 23:16:05 UTC) #1
kozy
I'm still thinking about displayName. From one hand, I can understand arguments of @bedney in ...
5 years, 1 month ago (2015-11-14 05:40:56 UTC) #3
Yang
Small nit. Do I understand correctly that this does not change any behavior that could ...
5 years, 1 month ago (2015-11-17 06:23:45 UTC) #11
kozy
All done. In last patch set I've fixed Error.stack property and after that displayName is ...
5 years, 1 month ago (2015-11-17 17:15:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1449473005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1449473005/100001
5 years, 1 month ago (2015-11-17 17:53:57 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/7817)
5 years, 1 month ago (2015-11-17 18:02:35 UTC) #17
kozy
Michael, please take a look. I need owner lgtm for heap.h.
5 years, 1 month ago (2015-11-17 18:16:36 UTC) #19
Michael Starzinger
LGTM (rubber-stamp on "heap", didn't look at the rest).
5 years, 1 month ago (2015-11-19 17:27:37 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1449473005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1449473005/100001
5 years, 1 month ago (2015-11-19 17:29:13 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:100001)
5 years, 1 month ago (2015-11-19 19:32:37 UTC) #24
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 19:32:48 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/89e859fb2b5cf5c30aca3492fdb6e98fa87950a3
Cr-Commit-Position: refs/heads/master@{#32124}

Powered by Google App Engine
This is Rietveld 408576698