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:
Why are we storing this in a separate property, and not under the same
"functionName"? Do we need to preserve the information about where the
name
string originates?

In output stack frame we store display name or function name in the same
"functionName" property. In function we try receiving display name from
current JS function instance and if there is no this property then we
get DebugName from SharedFunctionInfo. As I understand it, we can have a
lot of JS function objects with different display names from one shared
function info with its name.

https://codereview.chromium.org/917743002/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to