js/src/jit-test/tests/jaeger/recompile/bug641225.js

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 gczeal(1);
michael@0 2 var o0 = Function.prototype;
michael@0 3 o1 = {};
michael@0 4 var o4 = Error.prototype;
michael@0 5 o5 = new Int32Array(100);
michael@0 6 o6 = Proxy.create({
michael@0 7 });
michael@0 8 o8 = Proxy.createFunction({
michael@0 9 get: function() {return 10; },
michael@0 10 }, function(){ return {}; }, function(){ return {}; });
michael@0 11 o9 = {};
michael@0 12 var o10 = -500;
michael@0 13 var o12 = new Int32Array(100);
michael@0 14 function f0(o) {
michael@0 15 }
michael@0 16 function f1(o) {
michael@0 17 }
michael@0 18 function f3(o) {
michael@0 19 with(o) {}
michael@0 20 o[o5] = o5;
michael@0 21 }
michael@0 22 function f5(o) {
michael@0 23 }for(var f2 in o9) {
michael@0 24 for(var i1=0; i1<83; i1++) {
michael@0 25 for(var i3=0; i3<98; i3++) {
michael@0 26 for(var x in f1) { f1[x]; };
michael@0 27 }
michael@0 28 Object.defineProperty(o0, 'constructor', {enumerable: true,unused: 1 });
michael@0 29 f1(f5);
michael@0 30 f4(f3);
michael@0 31 f3(o8);
michael@0 32 f2(o5);
michael@0 33 o9.toString(1, 2);
michael@0 34 f4.caller = o3;
michael@0 35 f2(o6);
michael@0 36 f0(f2);
michael@0 37 f1(f2);
michael@0 38 f0(f1);
michael@0 39 var key = Object.getOwnPropertyNames(o9)[2]; if(key) delete o9[key];
michael@0 40 var props = Object.getOwnPropertyNames(o5);
michael@0 41 if (props.length > 6) {
michael@0 42 var prop = props[6];
michael@0 43 o8[prop] = o5[prop];
michael@0 44 }
michael@0 45 f3(f1);
michael@0 46 f1(f5);
michael@0 47 }
michael@0 48 for(var o3 in f1) {
michael@0 49 f1(o3);
michael@0 50 f4(o3);
michael@0 51 o0 == f4;
michael@0 52 f1(f3);
michael@0 53 Object.freeze(o12);
michael@0 54 f0(o9);
michael@0 55 new f0(o1);
michael@0 56 o4 = o5.call(o4, o4, o4, o4, o4, o4);
michael@0 57 f2(o10);
michael@0 58 var prop = Object.getOwnPropertyNames(o0)[15];
michael@0 59 if (prop) { Object.defineProperty(o0, prop, {configurable: true,enumerable: true,get: function(){},set: function(){},unused: 1 }); }
michael@0 60 f3(f1);
michael@0 61 new f2(o0);
michael@0 62 }
michael@0 63 f5(o9);
michael@0 64 gc();
michael@0 65 f0(o2);
michael@0 66 f3(f4);
michael@0 67 new f4(o7);
michael@0 68 f1 = new o10(f1, f1, f1, f1);
michael@0 69 f5(o10);
michael@0 70 f5(o7);
michael@0 71 f0(o7);
michael@0 72 f1(o10);
michael@0 73 f3(o10);
michael@0 74 delete f0.constructor;
michael@0 75 f0(f3);
michael@0 76 f1 = wrap(f3);
michael@0 77 f4(f1);
michael@0 78 delete o1.prototype;
michael@0 79 f4(o5);
michael@0 80 f2(f2);
michael@0 81 o1 + '';
michael@0 82 f2(f2);
michael@0 83 f0(o12);
michael@0 84 f0(o12);
michael@0 85 f1(o3);
michael@0 86 o5[3] = 8.3;
michael@0 87 o10['__proto_' + '_'];
michael@0 88 }
michael@0 89 for(var o2 in f5) {
michael@0 90 for(var o10 in f3) {
michael@0 91 delete f2['__proto_' + '_'];
michael@0 92 o8 = f1.toString;
michael@0 93 f1(o1);
michael@0 94 f0(o9);
michael@0 95 f2(o12);
michael@0 96 var key = Object.getOwnPropertyNames(o3)[19]; if(key) o9 = o3[key];
michael@0 97 f1(o10);
michael@0 98 f4(f1);
michael@0 99 f1(o1);
michael@0 100 f1(o7);
michael@0 101 for(var x in o1) { o1[x]; };
michael@0 102 f0(o8);
michael@0 103 f4(o1);
michael@0 104 f0(o1);
michael@0 105 f0.p0 = o6;
michael@0 106 f3(o9);
michael@0 107 f5(o8);
michael@0 108 f2 >>> o7;
michael@0 109 if(o3 === o8) {}
michael@0 110 f5(o3);
michael@0 111 }
michael@0 112 o5[0] = f4;
michael@0 113 o0.caller = function() { };
michael@0 114 Object.freeze(f0);
michael@0 115 f4(o3);
michael@0 116 o7.p0 = o3;
michael@0 117 f1(f5);
michael@0 118 f4(o10);
michael@0 119 f2(o5);
michael@0 120 f2(o5);
michael@0 121 f0(o3);
michael@0 122 o9.watch('p3', function() {});
michael@0 123 o8[o8] = o8;
michael@0 124 f0(o5);
michael@0 125 f1(o6);
michael@0 126 f2 = Object.create(o5);
michael@0 127 var key = Object.getOwnPropertyNames(o11)[23]; if(key) f2 = o11[key];
michael@0 128 f5(o9);
michael@0 129 o12 = o6.bind(o12, o12, o12);
michael@0 130 f5(f4);
michael@0 131 f1(o1);
michael@0 132 f0(o11);
michael@0 133 f1(o11);
michael@0 134 eval('f4');
michael@0 135 f4(o1);
michael@0 136 Object.isExtensible(o7);
michael@0 137 }
michael@0 138 (function() {
michael@0 139 f1(o12);
michael@0 140 f5 + '';
michael@0 141 if(o8 != o3) {}
michael@0 142 })();
michael@0 143 f1(o10);
michael@0 144 f3(f0);
michael@0 145 o4.toSource = function() { };
michael@0 146 var _o = o1;
michael@0 147 var prop = Object.getOwnPropertyNames(_o)[5];
michael@0 148 if (prop) { _o[prop](o2, o2); }
michael@0 149 f3(o0);
michael@0 150 f1(f3);
michael@0 151 Object.isExtensible(f1);

mercurial