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

Side by Side Diff: test/mjsunit/compiler/osr-follow.js

Issue 1960043002: [turbofan] Remove deprecated --turbo-osr flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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/compiler/osr-block-scope-id.js ('k') | test/mjsunit/compiler/osr-for-let.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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: --use-osr --turbo-osr 5 // Flags: --use-osr
6 6
7 function foo(a) { 7 function foo(a) {
8 var sum = 0; 8 var sum = 0;
9 var inc = a ? 100 : 200; 9 var inc = a ? 100 : 200;
10 for (var i = 0; i < 100000; i++) { 10 for (var i = 0; i < 100000; i++) {
11 sum += inc; 11 sum += inc;
12 } 12 }
13 return sum + inc; 13 return sum + inc;
14 } 14 }
15 15
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 assertEquals(tv, func(true)); 52 assertEquals(tv, func(true));
53 assertEquals(fv, func(false)); 53 assertEquals(fv, func(false));
54 assertEquals(tv, func(true)); 54 assertEquals(tv, func(true));
55 assertEquals(fv, func(false)); 55 assertEquals(fv, func(false));
56 } 56 }
57 57
58 test(foo, 10000100, 20000200); 58 test(foo, 10000100, 20000200);
59 test(bar, 5, 6); 59 test(bar, 5, 6);
60 test(baz, true, false); 60 test(baz, true, false);
61 test(qux, false, false); 61 test(qux, false, false);
OLDNEW
« no previous file with comments | « test/mjsunit/compiler/osr-block-scope-id.js ('k') | test/mjsunit/compiler/osr-for-let.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698