js/src/jit-test/tests/jaeger/bug625718-3.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 var o0 = [];
michael@0 2 var o1 = new String("foobarbaz");
michael@0 3 var o2 = {};
michael@0 4 var o3 = new String("foobarbaz");
michael@0 5 var o4 = {};
michael@0 6 var o5 = Math;
michael@0 7 var o6 = {};
michael@0 8 var o7 = new String("foobarbaz");
michael@0 9 var o8 = new String("foobarbaz");
michael@0 10 var o9 = Math;
michael@0 11 var o10 = Math;
michael@0 12 var o11 = function() {};
michael@0 13 var o12 = {};
michael@0 14 var o13 = new String("foobarbaz");
michael@0 15 var o14 = {};
michael@0 16
michael@0 17 function f1(o) { return o.length;};
michael@0 18 function f2(o) { o.g2 = function() {};};
michael@0 19 function f3(o) { return o.g10;};
michael@0 20 function f4(o) { o.g4 = function() {};};
michael@0 21 function f5(o) { return o == o14;};
michael@0 22 function f6(o) { o[3] = o;};
michael@0 23 function f7(o) { o[3] = undefined;};
michael@0 24 function f8(o) { o[3] = undefined;};
michael@0 25 function f9(o) { return o.length;};
michael@0 26 function f10(o) { return o.__proto__; };
michael@0 27
michael@0 28 for(var i=0; i<20; i++) {
michael@0 29 f9(o11);
michael@0 30 f6(o0);
michael@0 31 f2(o1);
michael@0 32 f2(o6);
michael@0 33 f7(o6);
michael@0 34 f8(o11);
michael@0 35 f2(o5);
michael@0 36 f7(o9);
michael@0 37 f7(o12);
michael@0 38 f6(o4);
michael@0 39 f5(o1);
michael@0 40 f4(o1);
michael@0 41 f8(o8);
michael@0 42 f6(o5);
michael@0 43 f2(o0);
michael@0 44 f10(o7);
michael@0 45 f3(o3);
michael@0 46 f4(o1);
michael@0 47 f9(o3);
michael@0 48 f4(o11);
michael@0 49 f4(o0);
michael@0 50 f2(o4);
michael@0 51 f4(o10);
michael@0 52 }

mercurial