diff --git a/js/src/jit-test/tests/ion/bug909997.js b/js/src/jit-test/tests/ion/bug909997.js index 32c822a29b2c..91d5c69bb3c2 100644 --- a/js/src/jit-test/tests/ion/bug909997.js +++ b/js/src/jit-test/tests/ion/bug909997.js @@ -1,3 +1,10 @@ +// getJitCompilerOptions will always return array with zeros when JIT is +// disabled. Therefore we quit now. +if (inJit() == 'Baseline is disabled.') { + print("JIT is disabled."); + quit(); +} + var wait = 100; var method_A = function() {