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.)

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

mercurial