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

Unified Diff: test/mjsunit/regress/regress-379770.js

Issue 906243002: Make it easier to test OSR with %OptimizeOsr() runtime call. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/regress-sync-optimized-lists.js ('k') | test/mjsunit/regress/regress-crbug-387599.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-379770.js
diff --git a/test/mjsunit/regress/regress-379770.js b/test/mjsunit/regress/regress-379770.js
index a6653c25912094b1393df1d088ab516b16efbe32..ab1b339f7d6f676a664e094bbad2d25af00fd7ea 100644
--- a/test/mjsunit/regress/regress-379770.js
+++ b/test/mjsunit/regress/regress-379770.js
@@ -6,9 +6,7 @@
function foo(obj) {
var counter = 1;
- for (var i = 0; i < obj.length; i++) {
- %OptimizeFunctionOnNextCall(foo, "osr");
- }
+ for (var i = 0; i < obj.length; i++) %OptimizeOsr();
counter += obj;
return counter;
}
« no previous file with comments | « test/mjsunit/regress-sync-optimized-lists.js ('k') | test/mjsunit/regress/regress-crbug-387599.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698