OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Flags: --allow-natives-syntax --debug-code --gc-interval=201 --verify-heap --
max-inlined-source-size=999999 --max-inlined-nodes=999999 --max-inlined-nodes-cu
mulative=999999 | 5 // Flags: --allow-natives-syntax --debug-code --gc-interval=201 --verify-heap --
max-inlined-source-size=999999 --max-inlined-nodes=999999 --max-inlined-nodes-cu
mulative=999999 |
| 6 // Flags: --crankshaft --no-always-opt |
6 | 7 |
7 // Begin stripped down and modified version of mjsunit.js for easy minimization
in CF. | 8 // Begin stripped down and modified version of mjsunit.js for easy minimization
in CF. |
8 function MjsUnitAssertionError(message) {} | 9 function MjsUnitAssertionError(message) {} |
9 MjsUnitAssertionError.prototype.toString = function () { return this.message; }; | 10 MjsUnitAssertionError.prototype.toString = function () { return this.message; }; |
10 var assertSame; | 11 var assertSame; |
11 var assertEquals; | 12 var assertEquals; |
12 var assertEqualsDelta; | 13 var assertEqualsDelta; |
13 var assertArrayEquals; | 14 var assertArrayEquals; |
14 var assertPropertiesEqual; | 15 var assertPropertiesEqual; |
15 var assertToStringEquals; | 16 var assertToStringEquals; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 } | 81 } |
81 } | 82 } |
82 __v_4 = {}; | 83 __v_4 = {}; |
83 __v_4.size = function() { return 42; } | 84 __v_4.size = function() { return 42; } |
84 __v_4.g = function() { return this.size(); }; | 85 __v_4.g = function() { return this.size(); }; |
85 __f_0({g: __v_4.g, size:__v_4.size}); | 86 __f_0({g: __v_4.g, size:__v_4.size}); |
86 for (var __v_0 = 0; __v_0 < 5; __v_0++) __f_0(__v_4); | 87 for (var __v_0 = 0; __v_0 < 5; __v_0++) __f_0(__v_4); |
87 %OptimizeFunctionOnNextCall(__f_0); | 88 %OptimizeFunctionOnNextCall(__f_0); |
88 __f_0(__v_4); | 89 __f_0(__v_4); |
89 __f_0({g: __v_4.g, size:__v_4.size}); | 90 __f_0({g: __v_4.g, size:__v_4.size}); |
OLD | NEW |