BaselineCompiler: IonMonkey: Compile JSOP_POPN

RESOLVED FIXED in mozilla24

Status

()

RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: jandem, Assigned: jandem)

Tracking

unspecified
mozilla24
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Created attachment 754423 [details] [diff] [review]
Patch

Pretty straight-forward. For the group assignment micro-benchmark below, just for fun:

before   : 27008 ms
after    :   160 ms

--no-ion :  1310 ms

function f() {	
    var t = 0;
    for (var j = 0; j < 10000000; j++) {
	for (var i = 0; i < 9; ++i) {
            var [r, g, b] = [1, i, 2];
            t += r + g + b;
	}
    }
    return t
}
f();
Attachment #754423 - Flags: review?(kvijayan)

Updated

6 years ago
Attachment #754423 - Flags: review?(kvijayan) → review+
https://hg.mozilla.org/mozilla-central/rev/66abdc9b3811
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.