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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 // Binary: cache/js-dbg-64-290712e55ade-linux
     2 // Flags: -j
     3 //
     4 var o9 = Function.prototype;
     5 var o13 = Array;
     6 function f5(o) {
     7 o.watch('p3', function() {});
     8 ox1 = wrap(o);
     9 }
    10 f5(o9);
    11 f5(o13);
    12 var o0 = [];
    13 function f3(o) {
    14             var prop = Object.getOwnPropertyNames(ox1)[0];
    15             if (prop) { Object.defineProperty(ox1, prop, {configurable: true,enumerable: true,unused: 1 }); }
    16 }(function() {
    17 for(var o3 in o0) {
    18 f3(f3);
    19 }
    20 })();
    21   for (var i = 0; i < 9; i++)
    22   {
    23     new Array(1, 2);
    24   }

mercurial