[Webkit-unassigned] [Bug 16547] New: Perform return/continue/break syntax checking at parse time
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 20 19:04:48 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=16547
Summary: Perform return/continue/break syntax checking at parse
time
Product: WebKit
Version: 525+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eric at webkit.org
CC: ggaren at apple.com
Perform return/continue/break syntax checking at parse time
There is no need for ReturnNode or ContinueNode or BreakNode to syntax check at
runtime (and needlessly branch in the common case), instead they could do all
their syntax checking with a similar "codeType()" variable, during parse time.
These branches are somewhat hot in function-heavy code. One example I saw
tonight was the binary-trees test, where > 1% of total time is spent in
ReturnNode::execute()
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list