aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/compiler/osr-manual1.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/compiler/osr-manual1.js')
-rw-r--r--deps/v8/test/mjsunit/compiler/osr-manual1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/test/mjsunit/compiler/osr-manual1.js b/deps/v8/test/mjsunit/compiler/osr-manual1.js
index 0a24ba6d3e..e98d84c26f 100644
--- a/deps/v8/test/mjsunit/compiler/osr-manual1.js
+++ b/deps/v8/test/mjsunit/compiler/osr-manual1.js
@@ -9,7 +9,7 @@ var counter = 111;
function gen(w) { // defeat compiler cache.
var num = counter++;
var Z = [ "", "", "", ];
- Z[w] = "%OptimizeOsr()";
+ Z[w] = "%OptimizeOsr(); %PrepareFunctionForOptimization(f" + num + ")";
var src =
"function f" + num + "(a,b,c) {" +
" var x = 0;" +