js/src/jit-test/tests/auto-regress/bug638212.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/auto-regress/bug638212.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +// Binary: cache/js-dbg-64-01037ab16a65-linux
     1.5 +// Flags: -j -m -a
     1.6 +//
     1.7 +o2 = this;
     1.8 +function f0(o) { }
     1.9 +function f4(o) { }
    1.10 +(function() {
    1.11 +Object.seal(o2);
    1.12 +})();
    1.13 +function f3(o) { }
    1.14 +function f7(o) {
    1.15 +var _var_ = o;
    1.16 +--(_var_["-1"]);
    1.17 +}
    1.18 +for(var i1=0; i1<6; i1++) {
    1.19 +f4(f3);
    1.20 +f4 = wrap(f7);
    1.21 +}
    1.22 +f4(f0);
    1.23 +
    1.24 +try { eval("var __proto__"); } catch(exc1) {}

mercurial