summaryrefslogtreecommitdiff
path: root/deps/v8/src/regexp/jsregexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/regexp/jsregexp.h')
-rw-r--r--deps/v8/src/regexp/jsregexp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/regexp/jsregexp.h b/deps/v8/src/regexp/jsregexp.h
index b2e84ba4f3..77d61ae17e 100644
--- a/deps/v8/src/regexp/jsregexp.h
+++ b/deps/v8/src/regexp/jsregexp.h
@@ -158,7 +158,7 @@ class RegExpImpl {
// total regexp code compiled including code that has subsequently been freed
// and the total executable memory at any point.
static const size_t kRegExpExecutableMemoryLimit = 16 * MB;
- static const int kRegExpCompiledLimit = 1 * MB;
+ static const size_t kRegExpCompiledLimit = 1 * MB;
static const int kRegExpTooLargeToOptimize = 20 * KB;
private: