ADD m_jit to regex struct..which holds 1/0 value if PCRE_STUDY_JIT_COMPILE was successful (1) via pcre_study(). Even if JIT is enabled and passed to pcre_study() does not actually mean JIT was successfully compiled. Not all expressions are JIT compatible. Store the flag so we can skip pcre_assign_jit_stack() for every exec().