comparison: js/src/jit-test/tests/auto-regress/bug657198.js
js/src/jit-test/tests/auto-regress/bug657198.js
- branch
- TOR_BUG_3246
- changeset 7
- 129ffea94266
equal
deleted
inserted
replaced
|
1 // |jit-test| slow; |
|
2 |
|
3 // Binary: cache/js-dbg-32-599d1c6cba63-linux |
|
4 // Flags: -j |
|
5 // |
|
6 eval("") |
|
7 o15 = {} |
|
8 function f11(o) { |
|
9 props = Object.getOwnPropertyNames(o) |
|
10 prop = props.length ? prop[prop.e] + "" : "" |
|
11 o[prop] = 3 |
|
12 } |
|
13 function f12(o) { |
|
14 _someglobal_ = o; |
|
15 for (j = 0; j < 5; j++) { |
|
16 for (x in { |
|
17 x: { |
|
18 x: function() { |
|
19 return _someglobal_ |
|
20 } |
|
21 }.x() |
|
22 }.x) { |
|
23 ({ |
|
24 x: { |
|
25 x: function() {} |
|
26 }.x() |
|
27 }[x]) |
|
28 } |
|
29 gc() |
|
30 } |
|
31 } { |
|
32 for (i = 0; i < 100; i++) { |
|
33 f12(o15) |
|
34 f11(o15) |
|
35 } |
|
36 } |