[Webkit-unassigned] [Bug 14868] Import variable lookup optimizations from KJS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 4 10:50:10 PDT 2007


------- Comment #7 from cwzwarich at uwaterloo.ca  2007-09-04 10:50 PDT -------
Thanks for the nicely reduced test case. I should be able to find the problem
today. A few things to note:

1) It only occurs when result is being assigned a new value. If I make it var
result = ... then it behaves properly. If I do the print inline then it behaves

2) It does not require the function being called to be anonymous. If I make a
normal function definition for f, then it still occurs.

3) It works every subsequent time in the interpreter, and also if it is called
twice in the same file.

4) It only works with 28 or more assignments in the function the way it is.
However, for each additional declaration at the top level (including the
function itself if it is declared), it takes one less assignment to trigger the
bug. But after adding too many, it gets harder to trigger the bug.

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