| Index: test/mjsunit/regress/regress-crbug-513471.js
|
| diff --git a/test/mjsunit/regress/regress-crbug-582703.js b/test/mjsunit/regress/regress-crbug-513471.js
|
| similarity index 71%
|
| copy from test/mjsunit/regress/regress-crbug-582703.js
|
| copy to test/mjsunit/regress/regress-crbug-513471.js
|
| index 792266f54cd9d124b2d2675100d3d1e8b82c4dd3..48c793e512315284ddf218f8847d9c357280fe95 100644
|
| --- a/test/mjsunit/regress/regress-crbug-582703.js
|
| +++ b/test/mjsunit/regress/regress-crbug-513471.js
|
| @@ -4,5 +4,7 @@
|
|
|
| // Flags: --allow-natives-syntax
|
|
|
| -%FunctionGetScript({});
|
| -%FunctionGetSourceCode({});
|
| +var g = (function*(){});
|
| +var f = g();
|
| +%OptimizeFunctionOnNextCall(g);
|
| +f.next();
|
|
|