aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/compiler/osr-forin-nested.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/compiler/osr-forin-nested.js')
-rw-r--r--deps/v8/test/mjsunit/compiler/osr-forin-nested.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/compiler/osr-forin-nested.js b/deps/v8/test/mjsunit/compiler/osr-forin-nested.js
index dd810897e0..d3e0c19721 100644
--- a/deps/v8/test/mjsunit/compiler/osr-forin-nested.js
+++ b/deps/v8/test/mjsunit/compiler/osr-forin-nested.js
@@ -18,6 +18,7 @@ function foo(t) {
}
return 5;
}
+%PrepareFunctionForOptimization(foo);
test(5, foo, {x:20});
@@ -31,5 +32,6 @@ function bar(t) {
}
return sum;
}
+%PrepareFunctionForOptimization(bar);
test(62, bar, {x:20,y:11});