diff options
Diffstat (limited to 'deps/v8/test/js-perf-test/Array/every.js')
-rw-r--r-- | deps/v8/test/js-perf-test/Array/every.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/v8/test/js-perf-test/Array/every.js b/deps/v8/test/js-perf-test/Array/every.js index 5a29f44e415..6e9425543a3 100644 --- a/deps/v8/test/js-perf-test/Array/every.js +++ b/deps/v8/test/js-perf-test/Array/every.js @@ -27,11 +27,11 @@ function OptUnreliableEvery() { DefineHigherOrderTests([ // name, test function, setup function, user callback - "DoubleEvery", mc("every"), DoubleSetup, v => v > 0.0, - "SmiEvery", mc("every"), SmiSetup, v => v != 34343, - "FastEvery", mc("every"), FastSetup, v => v !== 'hi', - "OptFastEvery", OptFastEvery, FastSetup, v => true, - "OptUnreliableEvery", OptUnreliableEvery, FastSetup, v => true + ['DoubleEvery', newClosure('every'), DoubleSetup, v => v > 0.0], + ['SmiEvery', newClosure('every'), SmiSetup, v => v != 34343], + ['FastEvery', newClosure('every'), FastSetup, v => v !== 'hi'], + ['OptFastEvery', OptFastEvery, FastSetup, v => true], + ['OptUnreliableEvery', OptUnreliableEvery, FastSetup, v => true] ]); })(); |