Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: test/mjsunit/regress/regress-347914.js

Issue 2653753007: [tests] Cleanup tests that use assertOptimized()/assertUnoptimized(). (Closed)
Patch Set: Addressing comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/mjsunit/regress/regress-3176.js ('k') | test/mjsunit/regress/regress-3650-3.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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});
OLDNEW
« no previous file with comments | « test/mjsunit/regress/regress-3176.js ('k') | test/mjsunit/regress/regress-3650-3.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698