summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/compiler/string-concat-yield.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/compiler/string-concat-yield.js')
-rw-r--r--deps/v8/test/mjsunit/compiler/string-concat-yield.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/compiler/string-concat-yield.js b/deps/v8/test/mjsunit/compiler/string-concat-yield.js
index d6611d2d36..5b73fea94a 100644
--- a/deps/v8/test/mjsunit/compiler/string-concat-yield.js
+++ b/deps/v8/test/mjsunit/compiler/string-concat-yield.js
@@ -9,6 +9,7 @@ function* foo() {
return f;
}
+%PrepareFunctionForOptimization(foo);
%OptimizeFunctionOnNextCall(foo);
var gen = foo();
assertEquals('yielded', gen.next('unused').value);