diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/jit-test/tests/basic/testBug1827733.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/testBug1827733.js b/js/src/jit-test/tests/basic/testBug1827733.js new file mode 100644 index 0000000000..3e35bfe597 --- /dev/null +++ b/js/src/jit-test/tests/basic/testBug1827733.js @@ -0,0 +1,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."); +}
\ No newline at end of file |