summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug714645.js
blob: 2bcfa259821b201425ff822be385937c033f0327 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function testAddInconvertibleObjectAny() {
  var count = 0;
  function toString() {  }
  try {
    for (var i = 0; i < 100; i++)
        var q = count[count] && this ? testAddInconvertibleObjectAny : ++toString;
  }  catch (e)  {
    var dbg = count(toString);
  }
}
testAddInconvertibleObjectAny();