Index: test/mjsunit/regress/regress-352982.js |
diff --git a/test/mjsunit/regress/regress-351315.js b/test/mjsunit/regress/regress-352982.js |
similarity index 79% |
copy from test/mjsunit/regress/regress-351315.js |
copy to test/mjsunit/regress/regress-352982.js |
index e2580fc34beab641655ba2a58c3e09e007890fd0..5d3ce1c67d2a42117de54b8a85ae981686698df7 100644 |
--- a/test/mjsunit/regress/regress-351315.js |
+++ b/test/mjsunit/regress/regress-352982.js |
@@ -25,25 +25,27 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Flags: --allow-natives-syntax |
+// Flags: --allow-natives-syntax --expose-gc |
-function f_13(x, y, z) { } |
- |
-v_5 = f_13.bind({}, -7); |
- |
-function f_0(z) { |
- return %NewObjectFromBound(v_5); |
+function __f_4(i1) { |
+ return __v_3[i1] * __v_3[0]; |
} |
- |
-function f_8(z2, y2) { |
- var v_0 = { f1 : 0.5, f2 : 0.25 }; |
- return f_0(v_0); |
+function __f_3(i1) { |
+ __f_4(i1); |
+ __f_4(i1 + 16); |
+ __f_4(i1 + 32); |
+ %OptimizeFunctionOnNextCall(__f_4); |
+ var x = __f_4(i1 + 993); |
+ return x; |
} |
- |
-function f_12(f, args) { |
- f.apply(this, args); |
- %OptimizeFunctionOnNextCall(f); |
- f.apply(this, args); |
+function __f_5() { |
+ __v_3[0] = +__v_3[0]; |
+ gc(); |
+ __f_3(0) | 0; |
+ __v_3 = /\u23a1|x/; |
+ return 0; |
} |
- |
-f_12(f_8, [6, 4]); |
+var __v_3 = new Float32Array(1000); |
+__f_5(); |
+__f_5(); |
+__f_5(); |