Index: test/mjsunit/compiler/osr-infinite.js |
diff --git a/test/mjsunit/compiler/osr-infinite.js b/test/mjsunit/compiler/osr-infinite.js |
index 9d0bb47a284ce60caadc49e1c487c49a4ee13b08..24c7add272d81c868a0771b583c07c23917ba3c9 100644 |
--- a/test/mjsunit/compiler/osr-infinite.js |
+++ b/test/mjsunit/compiler/osr-infinite.js |
@@ -8,7 +8,7 @@ var global_counter = 0; |
function thrower() { |
var x = global_counter++; |
- if (x == 5) %OptimizeOsr(thrower.caller); |
+ if (x == 5) %OptimizeOsr(1); |
if (x == 10) throw "terminate"; |
} |