michael@0: // |jit-test| slow; michael@0: // ^^ This test is slow when --no-ion is used, specifically, michael@0: // as part of TBPL. michael@0: michael@0: load(libdir + "parallelarray-helpers.js"); michael@0: michael@0: function makeObject(e, i, c) { michael@0: var v = {element: e, index: i, collection: c}; michael@0: michael@0: if (e == 512) // note: never happens michael@0: delete v.i; michael@0: michael@0: return v; michael@0: } michael@0: michael@0: if (getBuildConfiguration().parallelJS) michael@0: assertArraySeqParResultsEq(range(0, 512), "map", makeObject);