diff options
author | Stanislav Malyshev <stas@php.net> | 2016-01-31 20:33:17 -0800 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2016-01-31 20:37:47 -0800 |
commit | ca02d9c2d6f9bea7bf8abe607f1ee9484b1d7b62 (patch) | |
tree | e160528084046e2afc3bd3da4ce43bf0a808fa9a /ext/pcre/pcrelib/sljit/sljitConfigInternal.h | |
parent | df78eacc2f136b0bf5669e1a914672ea98783940 (diff) | |
download | php-git-ca02d9c2d6f9bea7bf8abe607f1ee9484b1d7b62.tar.gz |
Upgrade bundled PCRE to 8.38
Diffstat (limited to 'ext/pcre/pcrelib/sljit/sljitConfigInternal.h')
-rw-r--r-- | ext/pcre/pcrelib/sljit/sljitConfigInternal.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/ext/pcre/pcrelib/sljit/sljitConfigInternal.h b/ext/pcre/pcrelib/sljit/sljitConfigInternal.h index 3284012f19..16e3547c93 100644 --- a/ext/pcre/pcrelib/sljit/sljitConfigInternal.h +++ b/ext/pcre/pcrelib/sljit/sljitConfigInternal.h @@ -468,7 +468,12 @@ typedef double sljit_d; #ifndef SLJIT_CALL -#if (defined SLJIT_CONFIG_X86_32 && SLJIT_CONFIG_X86_32) +#if (defined SLJIT_USE_CDECL_CALLING_CONVENTION && SLJIT_USE_CDECL_CALLING_CONVENTION) + +/* Force cdecl. */ +#define SLJIT_CALL + +#elif (defined SLJIT_CONFIG_X86_32 && SLJIT_CONFIG_X86_32) #if defined(__GNUC__) && !defined(__APPLE__) @@ -608,6 +613,12 @@ SLJIT_API_FUNC_ATTRIBUTE void sljit_free_unused_memory_exec(void); #define SLJIT_LOCALS_OFFSET_BASE ((23 + 1) * sizeof(sljit_sw)) #endif +#elif (defined SLJIT_CONFIG_TILEGX && SLJIT_CONFIG_TILEGX) + +#define SLJIT_NUMBER_OF_REGISTERS 10 +#define SLJIT_NUMBER_OF_SAVED_REGISTERS 5 +#define SLJIT_LOCALS_OFFSET_BASE 0 + #elif (defined SLJIT_CONFIG_UNSUPPORTED && SLJIT_CONFIG_UNSUPPORTED) #define SLJIT_NUMBER_OF_REGISTERS 0 |