js/src/jit-test/tests/basic/bug718852.js

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 // |jit-test| error:ReferenceError
     3 function fannkuch(n) {
     4    var perm1 = Array(n);
     5    while (true) {
     6       if (check < 30){
     7          for(var i=0; i<n; i++) s += (perm1[i]+1).toString();
     8          while (i < r) {
     9             var j = this.abstract + 1;
    10             perm1[i] = perm1[j];
    11          }
    12       }
    13    }
    14 }
    15 fannkuch(8);

mercurial