summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/compiler/osr-infinite.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/compiler/osr-infinite.js')
-rw-r--r--deps/v8/test/mjsunit/compiler/osr-infinite.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/mjsunit/compiler/osr-infinite.js b/deps/v8/test/mjsunit/compiler/osr-infinite.js
index aa74c877d5..24c7add272 100644
--- a/deps/v8/test/mjsunit/compiler/osr-infinite.js
+++ b/deps/v8/test/mjsunit/compiler/osr-infinite.js
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --use-osr --allow-natives-syntax --turbo-osr
+// Flags: --use-osr --allow-natives-syntax
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";
}