Created attachment 644102 [details] [diff] [review]
After bug 753158, LambdaIsGetElem should sniff JSOP_GETALIASEDVAR instead of JSOP_NAME. This fixes a 10ms regression on sunspider unpack-code after bug 753158.
Created attachment 644109 [details] [diff] [review]
and backed out b/c of some bustage on talos...
Hah, there was a pre-existing (but less likely to be exercised, due to the use of dynamic name lookup) bug where we did upvar lookup in the current scope instead of the lambda's environment. D'oh.
Pushed with shell testcase: