diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-02-20 18:44:42 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-02-20 18:44:42 +0000 |
commit | 7f098bd50ecbaf83da35d6a3ad5cdfb3af1eb8d9 (patch) | |
tree | 3ac93bee754b4ab9dcf0dea96b41f929a3119a92 /pcre_dfa_exec.c | |
parent | 0c93c6b96052e711b78d83166348b6c09bf4270d (diff) | |
download | pcre-7f098bd50ecbaf83da35d6a3ad5cdfb3af1eb8d9.tar.gz |
Set PCRE_EXTRA_USED_JIT when JIT was actually used at runtime. Add /S++ and
-s++ to pcretest to show whether JIT was used or not.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@922 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_dfa_exec.c')
-rw-r--r-- | pcre_dfa_exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pcre_dfa_exec.c b/pcre_dfa_exec.c index 092bf51..4f950ec 100644 --- a/pcre_dfa_exec.c +++ b/pcre_dfa_exec.c @@ -3172,6 +3172,7 @@ if (extra_data != NULL) md->callout_data = extra_data->callout_data; if ((flags & PCRE_EXTRA_TABLES) != 0) md->tables = extra_data->tables; + ((pcre_extra *)extra_data)->flags &= ~PCRE_EXTRA_USED_JIT; /* No JIT support here */ } /* Check that the first field in the block is the magic number. If it is not, |