OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. |
| 2 // // Use of this source code is governed by a BSD-style license that can be |
| 3 // // found in the LICENSE file. |
| 4 // |
| 5 // // Flags: --expose-gc --always-opt |
| 6 |
| 7 (function __f_9() { |
| 8 })(); |
| 9 function __f_16(ctor_desc) { |
| 10 var __v_22 = 5; |
| 11 var __v_25 = []; |
| 12 gc(); gc(); gc(); |
| 13 for (var __v_18 = 0; __v_18 < __v_22; __v_18++) { |
| 14 __v_25[__v_18] = ctor_desc.ctor.apply(); |
| 15 } |
| 16 } |
| 17 var __v_28 = [ |
| 18 { |
| 19 ctor: function(__v_27) { return {a: __v_27}; }, |
| 20 args: function() { return [1.5 + __v_18]; } }, |
| 21 { |
| 22 ctor: function(__v_27) { var __v_21 = []; __v_21[1] = __v_27; __v_21[200000]
= __v_27; return __v_21; }, |
| 23 args: function() { return [1.5 + __v_18]; } }, |
| 24 { |
| 25 ctor: function() { |
| 26 } } |
| 27 ]; |
| 28 var __v_26 = [ |
| 29 { |
| 30 }]; |
| 31 __v_26.forEach(function(__v_16) { |
| 32 __v_28.forEach(function(ctor) { |
| 33 __f_16(ctor); |
| 34 }); |
| 35 }); |
OLD | NEW |