summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug616170.js
blob: efcd468ba5a2da74b1d93413f7678a5ad3ff549d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Don't trip bogus assert. */

function e()
{
    try
    {
        var t = undefined;
    }
    catch (e)
    {
        var t = null;
    }
    while (t && (t.tagName.toUpperCase() != "BODY"))
        continue;
}
for (var i = 0; i < 20; i++)
  e();