js/src/jit-test/tests/jaeger/bug663485.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/jaeger/bug663485.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +function makeExpectedMatch(arr) {
     1.5 +    expectedMatch = {
     1.6 +        x: arr.length
     1.7 +    }
     1.8 +}
     1.9 +var expected = makeExpectedMatch(new Int32Array);
    1.10 +this.toSource();
    1.11 +
    1.12 +function testTypedArrayOther() {
    1.13 +    var ar = new Int32Array;
    1.14 +    for (; i < ar; ++i) {
    1.15 +        ar[i] = i;
    1.16 +    }
    1.17 +    for (var i = 0; i<40; i++) {
    1.18 +    }
    1.19 +}
    1.20 +testTypedArrayOther();

mercurial