This seems weird?
uptream's codebase does wierd things. More wierd is spidemronkey:24 , where apparently you need to have -DENABLE_METHODJIT=1 too even though in 17 this was the flag that specifically disabled jit. Anyhow this isn't a bug.