Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | // |jit-test| slow; |
michael@0 | 2 | |
michael@0 | 3 | // Binary: cache/js-dbg-32-599d1c6cba63-linux |
michael@0 | 4 | // Flags: -j |
michael@0 | 5 | // |
michael@0 | 6 | eval("") |
michael@0 | 7 | o15 = {} |
michael@0 | 8 | function f11(o) { |
michael@0 | 9 | props = Object.getOwnPropertyNames(o) |
michael@0 | 10 | prop = props.length ? prop[prop.e] + "" : "" |
michael@0 | 11 | o[prop] = 3 |
michael@0 | 12 | } |
michael@0 | 13 | function f12(o) { |
michael@0 | 14 | _someglobal_ = o; |
michael@0 | 15 | for (j = 0; j < 5; j++) { |
michael@0 | 16 | for (x in { |
michael@0 | 17 | x: { |
michael@0 | 18 | x: function() { |
michael@0 | 19 | return _someglobal_ |
michael@0 | 20 | } |
michael@0 | 21 | }.x() |
michael@0 | 22 | }.x) { |
michael@0 | 23 | ({ |
michael@0 | 24 | x: { |
michael@0 | 25 | x: function() {} |
michael@0 | 26 | }.x() |
michael@0 | 27 | }[x]) |
michael@0 | 28 | } |
michael@0 | 29 | gc() |
michael@0 | 30 | } |
michael@0 | 31 | } { |
michael@0 | 32 | for (i = 0; i < 100; i++) { |
michael@0 | 33 | f12(o15) |
michael@0 | 34 | f11(o15) |
michael@0 | 35 | } |
michael@0 | 36 | } |