Index: test/mjsunit/regress/regress-crbug-387599.js |
diff --git a/test/mjsunit/regress/regress-crbug-387599.js b/test/mjsunit/regress/regress-crbug-387599.js |
index 98750aa918261f707bdee8a05d230c2805aa11e9..753dcfa3a615ac70d0bc0b65420b189bbbb3f88c 100644 |
--- a/test/mjsunit/regress/regress-crbug-387599.js |
+++ b/test/mjsunit/regress/regress-crbug-387599.js |
@@ -8,9 +8,7 @@ Debug = debug.Debug; |
Debug.setListener(function() {}); |
function f() { |
- for (var i = 0; i < 100; i++) { |
- %OptimizeFunctionOnNextCall(f, "osr"); |
- } |
+ for (var i = 0; i < 100; i++) %OptimizeOsr(); |
} |
Debug.setBreakPoint(f, 0, 0); |