summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1284491.js
blob: f061536bb11d89ebb88fc857c6ad8dd531ee0812 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
loadFile(`
  function SwitchTest(){
    switch(value) {
      case 0:break
      case isNaN: break
    }
  }
  SwitchTest();
`)
function loadFile(lfVarx) {
  oomTest(function() { return eval(lfVarx); })
}