A function's environment object should never change. MFunctionEnvironment should be movable and subject to LICM.
Created attachment 765073 [details] [diff] [review] Patch. This improves the performance a compiled forEach with an inlined, scope-using callback, by 7%.
Attachment #765073 - Flags: review?(hv1989)
Attachment #765073 - Flags: review?(hv1989) → review+
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.