OSDN Git Service

remove leftover reference to WREC
authorIvailo Monev <xakepa10@laimg.moc>
Wed, 10 Aug 2016 20:44:05 +0000 (23:44 +0300)
committerIvailo Monev <xakepa10@laimg.moc>
Wed, 10 Aug 2016 20:44:05 +0000 (23:44 +0300)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h
src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexJIT.cpp
src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexParser.h

index 605cc62..39e3c16 100644 (file)
@@ -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)
index c5f6b5b..bfeea53 100644 (file)
@@ -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
index 2c01ffd..369217e 100644 (file)
@@ -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;
 };