Closed Bug 708757 Opened 13 years ago Closed 13 years ago

IonMonkey: jit-test/tests/basic/bug570663-2.js fails with greedy allocator

Categories

(Core :: JavaScript Engine, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 711763

People

(Reporter: jandem, Unassigned)

References

Details

After callgname landed, tests/basic/bug570663-2.js fails with --ion-greedy. Here's a reduced testcase:
-- 
function f() {
    var x = 0;
    for (var a = 0; a < 50; a++) {
	x = a;
    }
    assertEq(x, 49);
}
f();
--
This fails with --ion --ion-regalloc=greedy

test.js:6: Error: Assertion failed: got 50, expected 49
x86 only.
Hardware: All → x86
This bug looks similar to what I have on ARM.

jit-test/tests/ion/bug692213.js timeouts on ARM with the greedy allocator.

function X(n) {
    while ((n--)) {
        switch ( n ) { default : }
    }
}
(X)(0);
Fixed by GRA overhaul.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.