Our stack getter is lazy, isn't it? I suppose if user want to receive stack
trace and set for some functions displayName then we can spend one more
moment
for return more useful stack trace.
https://codereview.chromium.org/919653002/diff/20001/src/messages.js
File src/messages.js (right):
https://codereview.chromium.org/919653002/diff/20001/src/messages.js#newcode829
src/messages.js:829: if (name && IS_STRING(name)) {
On 2015/02/12 14:15:29, Yang wrote:
I think a single IS_STRING(name) would suffice, as undefined is not a
String.
Unless you want to filter out the empty string, since it evaluates to
false. In
which case it would be better to explicitly do a string length
comparison.
Done.
https://codereview.chromium.org/919653002/
--
--
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.