diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-08-22 14:56:43 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-08-22 14:56:43 +0000 |
commit | b205b9285d0feca53c32d7258fc02ecb926ca16b (patch) | |
tree | 0baa3d921b2668e097880081ad36a993b407d663 /pcre_fullinfo.c | |
parent | cdb46f2d9639ad98acf70b88ee20e5847b185f5e (diff) | |
download | pcre-b205b9285d0feca53c32d7258fc02ecb926ca16b.tar.gz |
Commit changes for JIT support
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@666 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_fullinfo.c')
-rw-r--r-- | pcre_fullinfo.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pcre_fullinfo.c b/pcre_fullinfo.c index 6b8d789..d1398c4 100644 --- a/pcre_fullinfo.c +++ b/pcre_fullinfo.c @@ -6,7 +6,7 @@ and semantics are as close as possible to those of the Perl 5 language. Written by Philip Hazel - Copyright (c) 1997-2009 University of Cambridge + Copyright (c) 1997-2011 University of Cambridge ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without @@ -129,6 +129,12 @@ switch (what) study->minlength : -1; break; + case PCRE_INFO_JIT: + *((int *)where) = extra_data != NULL && + (extra_data->flags & PCRE_EXTRA_EXECUTABLE_JIT) != 0 && + extra_data->executable_jit != NULL; + break; + case PCRE_INFO_LASTLITERAL: *((int *)where) = ((re->flags & PCRE_REQCHSET) != 0)? re->req_byte : -1; |