| 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; | 
| } | 
|  | 
|  |