summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug1827733.js
blob: 3e35bfe597a8b007d2eaa7afffa00567634466f8 (plain)
1
2
3
4
5
6
7
8
9
function test(a, b) {
  return a + b;
}

try {
  disnative(test);
} catch (err) {
  assertEq(err.message, "The function hasn't been warmed up, hence no JIT code to disassemble.");
}