diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2014-05-12 05:07:46 +0200 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2014-06-12 17:46:17 -0700 |
commit | 3a280b2034e3ea438cd3a2e7acd1a4cd40112ac5 (patch) | |
tree | ae194faf83fd22ad890b421c2ebd537db1a52534 /deps/v8/test/mjsunit/array-push10.js | |
parent | 5413d9abe0df7e22bdb650a65f4c0ac462bbe147 (diff) | |
download | node-3a280b2034e3ea438cd3a2e7acd1a4cd40112ac5.tar.gz |
deps: upgrade v8 to 3.26.33
Signed-off-by: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'deps/v8/test/mjsunit/array-push10.js')
-rw-r--r-- | deps/v8/test/mjsunit/array-push10.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/array-push10.js b/deps/v8/test/mjsunit/array-push10.js new file mode 100644 index 000000000..223186e0e --- /dev/null +++ b/deps/v8/test/mjsunit/array-push10.js @@ -0,0 +1,15 @@ +// Copyright 2014 the V8 project authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +function __f_17(__v_9) { + var __v_10 = 0; + var count = 10000; + while (count-- != 0) { + __v_9.push(0); + if (++__v_10 >= 2) return __v_9; + __v_10 = {}; + } +} + +__v_14 = __f_17([]); |