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

Issue 917743002: [V8] Use Function.name for stack frames in v8::StackTrace (Closed)

Created:
5 years, 10 months ago by kozy
Modified:
5 years, 9 months ago
Reviewers:
aandrey, yurys, Yang
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[V8] Use Function.name for stack frames in v8::StackTrace If function.name property has string type then stack frame will contain it otherwise DebugName from shared function info. BUG=17356 LOG=Y R=yurys@chromium.org Committed: https://crrev.com/54196b17c863ced336103f630f3201ebb2cb7d3f Cr-Commit-Position: refs/heads/master@{#27025}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 6

Patch Set 3 : Added Function.name getter check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -1 line) Patch
M src/isolate.cc View 1 2 3 chunks +6 lines, -1 line 0 comments Download
M test/cctest/test-api.cc View 1 2 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (4 generated)
kozy
Yury, please take a look.
5 years, 10 months ago (2015-02-11 13:58:47 UTC) #1
aandrey
lgtm
5 years, 10 months ago (2015-02-11 15:30:52 UTC) #3
kozy
Yang, please take a look.
5 years, 10 months ago (2015-02-12 10:17:57 UTC) #4
Yang
https://codereview.chromium.org/917743002/diff/1/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/917743002/diff/1/src/isolate.cc#newcode562 src/isolate.cc:562: JSObject::AddProperty(stack_frame, function_key_, display_name, NONE); Why are we storing this ...
5 years, 10 months ago (2015-02-12 14:25:36 UTC) #6
kozy
https://codereview.chromium.org/917743002/diff/1/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/917743002/diff/1/src/isolate.cc#newcode562 src/isolate.cc:562: JSObject::AddProperty(stack_frame, function_key_, display_name, NONE); On 2015/02/12 14:25:36, Yang wrote: ...
5 years, 10 months ago (2015-02-12 14:46:13 UTC) #7
kozy
Function.name is configurable after [1]. Stack frame use this property after this CL. PTAL! [1] ...
5 years, 9 months ago (2015-03-05 13:44:25 UTC) #8
yurys
https://codereview.chromium.org/917743002/diff/20001/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/917743002/diff/20001/src/isolate.cc#newcode557 src/isolate.cc:557: if (fun_name.is_null() || !fun_name->IsString()) Can it ever be null? ...
5 years, 9 months ago (2015-03-05 14:12:56 UTC) #9
kozy
ptal https://codereview.chromium.org/917743002/diff/20001/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/917743002/diff/20001/src/isolate.cc#newcode557 src/isolate.cc:557: if (fun_name.is_null() || !fun_name->IsString()) On 2015/03/05 14:12:56, yurys ...
5 years, 9 months ago (2015-03-05 15:01:09 UTC) #10
kozy
ptal
5 years, 9 months ago (2015-03-05 15:01:10 UTC) #11
yurys
lgtm
5 years, 9 months ago (2015-03-05 15:13:54 UTC) #12
kozy
Yang, please take a look.
5 years, 9 months ago (2015-03-05 15:28:48 UTC) #13
Yang
On 2015/03/05 15:28:48, kozyatinskiy wrote: > Yang, please take a look. Lgtm.
5 years, 9 months ago (2015-03-05 15:35:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/917743002/40001
5 years, 9 months ago (2015-03-05 18:30:15 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-05 18:31:38 UTC) #18
commit-bot: I haz the power
5 years, 9 months ago (2015-03-05 18:31:58 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/54196b17c863ced336103f630f3201ebb2cb7d3f
Cr-Commit-Position: refs/heads/master@{#27025}

Powered by Google App Engine
This is Rietveld 408576698