getTop() should return sp, but it return sp+1. However, fixing this exposes a bug in JSOP_CALLPROP where the tracker is update early (stack(0)) and afterwards we take a snapshot. If that snapshot fails the wrong value is written back.
Created attachment 342753 [details] [diff] [review] patch
Attachment #342753 - Flags: review?(danderson)
10 years ago
Attachment #342753 - Flags: review?(danderson) → review+
This patch fixes the redundant comparisons at the end of loops that vlad pointed out a while ago. This might also explain some performance regressions in NJ2 since the underlying comparison code changed.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.