diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-08-28 15:23:03 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-08-28 15:23:03 +0000 |
commit | 2c4636957ccfe419a5825b3724af37fdc111b491 (patch) | |
tree | cd51957dbcceb91b0c3ba06f3a78a0f8986d3852 /pcre_jit_compile.c | |
parent | a0f6e69a6735cd767ac50c39ae646193198c9286 (diff) | |
download | pcre-2c4636957ccfe419a5825b3724af37fdc111b491.tar.gz |
Documentation for JIT support.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@678 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_jit_compile.c')
-rw-r--r-- | pcre_jit_compile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pcre_jit_compile.c b/pcre_jit_compile.c index a94ab61..7691e50 100644 --- a/pcre_jit_compile.c +++ b/pcre_jit_compile.c @@ -6388,7 +6388,9 @@ PCRE_EXP_DECL void pcre_assign_jit_stack(pcre_extra *extra, pcre_jit_callback callback, void *userdata) { executable_function *function; -if ((extra->flags & PCRE_EXTRA_EXECUTABLE_JIT) != 0 && extra->executable_jit != NULL) +if (extra != NULL && + (extra->flags & PCRE_EXTRA_EXECUTABLE_JIT) != 0 && + extra->executable_jit != NULL) { function = (executable_function*)extra->executable_jit; function->callback = callback; |