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

Side by Side Diff: test/mjsunit/compiler/osr-infinite.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-function-id2.js ('k') | test/mjsunit/compiler/osr-labeled.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 --allow-natives-syntax --turbo-osr 5 // Flags: --use-osr --allow-natives-syntax
6 6
7 var global_counter = 0; 7 var global_counter = 0;
8 8
9 function thrower() { 9 function thrower() {
10 var x = global_counter++; 10 var x = global_counter++;
11 if (x == 5) %OptimizeOsr(thrower.caller); 11 if (x == 5) %OptimizeOsr(thrower.caller);
12 if (x == 10) throw "terminate"; 12 if (x == 10) throw "terminate";
13 } 13 }
14 14
15 %NeverOptimizeFunction(thrower); // Don't want to inline the thrower. 15 %NeverOptimizeFunction(thrower); // Don't want to inline the thrower.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 } 69 }
70 70
71 71
72 test(n1); 72 test(n1);
73 test(n2); 73 test(n2);
74 test(n3); 74 test(n3);
75 test(n4); 75 test(n4);
76 test(b1); 76 test(b1);
77 test(b2); 77 test(b2);
78 test(b3); 78 test(b3);
OLDNEW
« no previous file with comments | « test/mjsunit/compiler/osr-function-id2.js ('k') | test/mjsunit/compiler/osr-labeled.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698