diff options
Diffstat (limited to 'deps/v8/test/js-perf-test/Array/some.js')
-rw-r--r-- | deps/v8/test/js-perf-test/Array/some.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/v8/test/js-perf-test/Array/some.js b/deps/v8/test/js-perf-test/Array/some.js index ea820e9801d..d7d5efa9085 100644 --- a/deps/v8/test/js-perf-test/Array/some.js +++ b/deps/v8/test/js-perf-test/Array/some.js @@ -27,11 +27,11 @@ function OptUnreliableSome() { DefineHigherOrderTests([ // name, test function, setup function, user callback - "DoubleSome", mc("some"), DoubleSetup, v => v < 0.0, - "SmiSome", mc("some"), SmiSetup, v => v === 34343, - "FastSome", mc("some"), FastSetup, v => v === 'hi', - "OptFastSome", OptFastSome, FastSetup, undefined, - "OptUnreliableSome", OptUnreliableSome, FastSetup, v => v === 'hi' + ['DoubleSome', newClosure('some'), DoubleSetup, v => v < 0.0], + ['SmiSome', newClosure('some'), SmiSetup, v => v === 34343], + ['FastSome', newClosure('some'), FastSetup, v => v === 'hi'], + ['OptFastSome', OptFastSome, FastSetup, undefined], + ['OptUnreliableSome', OptUnreliableSome, FastSetup, v => v === 'hi'] ]); })(); |