regress-475645-02.js (1210B)
1 /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ 2 /* This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 5 6 //----------------------------------------------------------------------------- 7 var BUGNUMBER = 475645; 8 var summary = 'Do not crash @ nanojit::LIns::isop'; 9 var actual = ''; 10 var expect = ''; 11 12 13 //----------------------------------------------------------------------------- 14 test(); 15 //----------------------------------------------------------------------------- 16 17 function test() 18 { 19 printBugNumber(BUGNUMBER); 20 printStatus (summary); 21 22 23 if (typeof window != 'undefined') 24 { 25 var q = (function () { }); 26 window.addEventListener("load", q, false); 27 window.onerror = q; 28 arr = new Array(); 29 pic = r = new Array; 30 h = t = 7; 31 var pics = ""; 32 pic[2] = ""; 33 for (i=1; i < pic.length; i++) 34 { 35 try 36 { 37 if(pics=="") 38 pics=pic[i]; 39 else 40 (pic[i]-1 & pic[i].i("") == 1); 41 } 42 catch(ex) 43 { 44 } 45 arr[i]=''; 46 } 47 } 48 49 50 reportCompare(expect, actual, summary); 51 }