summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug905166.js
blob: 59591b2eb55c0e807f573eef466c8a097b9f2167 (plain)
1
2
3
4
5
6
7
8
9
function test() {
  LastIndexOf("hello");
  LastIndexOf("hello");
  eval("");
  function LastIndexOf(s) {
     x = Math.min(Math.max(Math.pow(-1, 0.5), 0), s.length);
     0 <= x;
  }
} test();