Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 46d4ec86ef8ba7650e153aa719315a966d634faa..93fd1b8aa95f326141e548c1967054341113388b 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -454,7 +454,7 @@ class Parser { |
// construct a hashable id, so if more than 2^17 are allowed, this |
// should be checked. |
static const int kMaxNumFunctionParameters = 32766; |
- static const int kMaxNumFunctionLocals = 65535; |
+ static const int kMaxNumFunctionLocals = 131071; // 2^17-1 |
enum Mode { |
PARSE_LAZILY, |