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

Unified Diff: test/mjsunit/regress/call-function-in-effect-context-deopt.js

Issue 908863002: Remove some busy-OSR loops from tests using %OptimizeOsr(). (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/binop-in-effect-context-deopt.js ('k') | test/mjsunit/regress/regress-1118.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/call-function-in-effect-context-deopt.js
diff --git a/test/mjsunit/regress/call-function-in-effect-context-deopt.js b/test/mjsunit/regress/call-function-in-effect-context-deopt.js
index 9a36c141b7bc6c00ec8ed8b558588abac21beb0f..704af744d266bfb737b98354540fac6862102460 100644
--- a/test/mjsunit/regress/call-function-in-effect-context-deopt.js
+++ b/test/mjsunit/regress/call-function-in-effect-context-deopt.js
@@ -31,7 +31,7 @@ function f(deopt, osr) {
var result = "result";
%_CallFunction(0, 0, function() {});
var dummy = deopt + 0;
- if (osr) while (%GetOptimizationStatus(f) == 2) {}
+ for (var i = 0; osr && i < 2; i++) %OptimizeOsr();
return result;
}
« no previous file with comments | « test/mjsunit/regress/binop-in-effect-context-deopt.js ('k') | test/mjsunit/regress/regress-1118.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698