Closed Bug 885112 Opened 11 years ago Closed 11 years ago

IonMonkey: MFunctionEnvironment should be movable and alias nothing

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: djvj, Unassigned)

Details

Attachments

(1 file)

A function's environment object should never change.  MFunctionEnvironment should be movable and subject to LICM.
Attached patch Patch.Splinter Review
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+
https://hg.mozilla.org/mozilla-central/rev/3d389787101e
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: