IonMonkey: MFunctionEnvironment should be movable and alias nothing

RESOLVED FIXED in mozilla24

Status

()

Core
JavaScript Engine
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: djvj, Unassigned)

Tracking

unspecified
mozilla24
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
A function's environment object should never change.  MFunctionEnvironment should be movable and subject to LICM.
(Reporter)

Comment 1

5 years ago
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+
https://hg.mozilla.org/mozilla-central/rev/3d389787101e
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.