js/src/jit-test/tests/jaeger/bug625718-1.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/bug625718-1.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +function f3() { return 2; };
     1.5 +function f4(o) { o.g4 = function() {}; };
     1.6 +
     1.7 +var f = function() {};
     1.8 +f.x = undefined;
     1.9 +f4(new String("x"));
    1.10 +f3();
    1.11 +f4(f);
    1.12 +
    1.13 +for(var i=0; i<20; i++) {
    1.14 +    f4(Math);
    1.15 +}

mercurial