Bug 987134 - Pare down the parallel/ic-setelement jit-test. (r=jandem)

This commit is contained in:
Shu-yu Guo 2014-03-25 22:59:27 -07:00
parent 8a3eda6b25
commit cc1e31f40c

View File

@ -113,10 +113,9 @@ function set(a, n) {
var foo = 0;
var foo = 0;
}
set({}, 1024);
set({}, 1024);
set({}, 256);
function Foo() { }
set(new Foo, 1024);
set(new Foo, 256);
function testSetDense() {
assertArraySeqParResultsEq(
@ -125,7 +124,7 @@ function testSetDense() {
function (i) {
var a1 = [];
// Defines .foo
set(a1, i+1);
set(a1, 32);
return a1[i];
});
}