summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug502604.js
blob: 79be300e215b177880bbf7e2c37f46feb8aac778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Binary: cache/js-dbg-32-b4fee3813956-linux
// Flags: -j
//
var aej=new Array( 'A3|297|420', 'dummy|1|1' );
var aes=aej.length-1,
aet=new Array();
for(var i=0; i <= aes; ++i)
  aet[i] = aej[i].split('|');
afo=4;
R=new Array(
  '17523|2500|275||',
  '17524|5000|300.3||',
  '17535|500|207.4|=|120x120|=|=|=|=|=|=|=',
  '17556|500|349.3|=|A5|=|=|=|=|=|=|='
);
var ags = R.length-1;
px= new Array();
for(var i=1; i<=ags; i++) {
  px[i] = R[i].split('|');
  for(var j=0; j<=11;j++)
    agt = ank(px[i][afo]);
}
function ank(akr) {
  var XX=YY=0;
  for(var i=0;i<aet.length;i++)
    if((XX==0)  &&  (akr.indexOf('x')>0)) {
      var tt=akr.split('x');
      XX=tt[0];YY=tt[1]
    }
}