summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug782083.js
blob: b6cb9a4e7d32850437250b8e2b980ac240302fe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Binary: cache/js-dbg-32-f1764bf06b29-linux
// Flags: --ion-eager
//

gcPreserveCode();
function r() {}
gczeal(2);
evaluate("");
evaluate("\
function randomFloat () {\
    if (r < 0.25)\
        fac = 10000000;\
}\
for (var i = 0; i < 2000; i++)\
    randomFloat();\
");