DescriptionRevert "Revert "Fix a bug in scope analysis.""
Reapply r8783 with an additional fix.
Because the preparser and parser do not use the same scope analysis to
determine if a function can be lazily compiled, the parser can have false
positives. Rather than treating this as a parse error, treat the preparser
as authoritative and eagerly compile the function.
R=lrn@chromium.org
BUG=
TEST=
Committed: http://code.google.com/p/v8/source/detail?r=8797
Patch Set 1 #Patch Set 2 : Update test expectation. #
Total comments: 2
Messages
Total messages: 3 (0 generated)
|