From: Ivailo Monev Date: Wed, 10 Aug 2016 20:44:05 +0000 (+0300) Subject: remove leftover reference to WREC X-Git-Tag: 4.12.0~6849^2~1 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4f8e532a0a1dc51a68b0956e9a398b7765fc828e;p=kde%2FKatie.git remove leftover reference to WREC Signed-off-by: Ivailo Monev --- diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h b/src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h index 605cc62b8..39e3c16a0 100644 --- a/src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h +++ b/src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h @@ -176,7 +176,7 @@ static inline int getLinkValueAllowZero(const unsigned char* opcodePtr) #endif } -#define MAX_PATTERN_SIZE 1024 * 1024 // Derived by empirical testing of compile time in PCRE and WREC. +#define MAX_PATTERN_SIZE 1024 * 1024 // Derived by empirical testing of compile time in PCRE. COMPILE_ASSERT(MAX_PATTERN_SIZE < (1 << (8 * LINK_SIZE)), pcre_max_pattern_fits_in_bytecode); static inline void putLinkValue(unsigned char* opcodePtr, int value) diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexJIT.cpp b/src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexJIT.cpp index c5f6b5bb0..bfeea5304 100644 --- a/src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexJIT.cpp +++ b/src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexJIT.cpp @@ -1207,13 +1207,13 @@ class RegexGenerator : private MacroAssembler { // How much more input need there be to be able to retry from the first alternative? // examples: - // /yarr_jit/ or /wrec|pcre/ + // /yarr_jit/ or /pcre/ // In these examples we need check for one more input before looping. // /yarr_jit|pcre/ // In this case we need check for 5 more input to loop (+4 to allow for the first alterative // being four longer than the last alternative checked, and another +1 to effectively move // the start position along by one). - // /yarr|rules/ or /wrec|notsomuch/ + // /yarr|rules/ or /notsomuch/ // In these examples, provided that there was sufficient input to have just been matching for // the second alternative we can loop without checking for available input (since the second // alternative is longer than the first). In the latter example we need to decrement index diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexParser.h b/src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexParser.h index 2c01ffd12..369217e52 100644 --- a/src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexParser.h +++ b/src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexParser.h @@ -770,7 +770,7 @@ private: unsigned m_index; unsigned m_parenthesesNestingDepth; - // Derived by empirical testing of compile time in PCRE and WREC. + // Derived by empirical testing of compile time in PCRE. static const unsigned MAX_PATTERN_SIZE = 1024 * 1024; };