aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/compiler/osr-nested.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/compiler/osr-nested.js')
-rw-r--r--deps/v8/test/mjsunit/compiler/osr-nested.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/compiler/osr-nested.js b/deps/v8/test/mjsunit/compiler/osr-nested.js
index 7add40ed53..9775f6563b 100644
--- a/deps/v8/test/mjsunit/compiler/osr-nested.js
+++ b/deps/v8/test/mjsunit/compiler/osr-nested.js
@@ -30,6 +30,7 @@
function f() {
var sum = 0;
for (var i = 0; i < 10; i++) {
+ %PrepareFunctionForOptimization(f);
for (var j = 0; j < 10; j++) {
var x = i + 2;
var y = x + 5;