[Webkit-unassigned] [Bug 135545] New: [ftlopt] The parser should emit AST nodes the var declarations with no initializers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Aug 2 15:49:18 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=135545
Summary: [ftlopt] The parser should emit AST nodes the var
declarations with no initializers
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: sbarati at apple.com
Currently, when the parser is parsing a variable declaration list and sees a var declarator without an initializer, it just adds the variable name to the environment in the parsing context, but does not actually create an AST node when there is no initializer.
Because it doesn't create an AST node, the helper function that calls this parsing method may emit an EmptyExpression AST node, or may emit a CommaNode where there aren't nodes in the CommaNode representing empty initializers.
We should emit an AST node here that represents declaring variables without initializers because it gives high fidelity type profiling the opportunity to emit code that observes this variable.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list