Index: src/jsregexp.h |
diff --git a/src/jsregexp.h b/src/jsregexp.h |
index 6e41c9fa56ee7e87236fde0aec7aa274db7fa990..ff7759bfec631bde43a0f59b2f61622bfdd79c62 100644 |
--- a/src/jsregexp.h |
+++ b/src/jsregexp.h |
@@ -212,7 +212,7 @@ class RegExpImpl { |
// and the total executable memory at any point. |
static const int kRegExpExecutableMemoryLimit = 16 * MB; |
static const int kRegExpCompiledLimit = 1 * MB; |
- static const int kRegExpTooLargeToOptimize = 10 * KB; |
+ static const int kRegExpTooLargeToOptimize = 20 * KB; |
private: |
static bool CompileIrregexp(Handle<JSRegExp> re, |