[webkit-reviews] review denied: [Bug 89410] JSC needs to record line numbers for exception stack traces : [Attachment 148229] Fix
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 18 20:20:28 PDT 2012
Geoffrey Garen <ggaren at apple.com> has denied Mark Lam <mark.lam at apple.com>'s
request for review:
Bug 89410: JSC needs to record line numbers for exception stack traces
https://bugs.webkit.org/show_bug.cgi?id=89410
Attachment 148229: Fix
https://bugs.webkit.org/attachment.cgi?id=148229&action=review
------- Additional Comments from Geoffrey Garen <ggaren at apple.com>
View in context: https://bugs.webkit.org/attachment.cgi?id=148229&action=review
Approach looks good, but this patch could use some tweaks before landing.
> Source/JavaScriptCore/bytecode/CodeBlock.cpp:1603
> + , m_lineInfo()
"m_lineInfo(other.m_lineInfo)" would be better here, to avoid zero-initializing
m_lineInfo just to overwrite it later.
> Source/JavaScriptCore/bytecode/CodeBlock.cpp:1653
> + , m_lineInfo()
WebKit style is to omit implicit initializers like this one.
> Source/JavaScriptCore/bytecode/CodeBlock.h:726
> + return m_lineInfo.size() || (m_rareData
m_lineInfo.size() is always > 0 now, right? If so, I think you should just
return true here, and we can remove this optimization in another patch.
More information about the webkit-reviews
mailing list