js/src/jit-test/tests/ion/bug691603.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/ion/bug691603.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,11 @@
     1.4 +// |jit-test| error: ReferenceError
     1.5 +function bitsinbyte(b) {
     1.6 +    while(m<0x100) {    }
     1.7 +}
     1.8 +function TimeFunc(func) {
     1.9 +    for(var y=0; y<256; y++) func(y);
    1.10 +}
    1.11 +function nestedExit2() {
    1.12 +    TimeFunc(bitsinbyte);
    1.13 +}
    1.14 +assertEq(nestedExit2(), "ok");

mercurial