Chromium Code Reviews| Index: src/parser.h |
| diff --git a/src/parser.h b/src/parser.h |
| index 3d2f03229f0558f1e0860b93e88ae52f35878be0..98d422dcb541dfe01edd826ed98e721d7c34ceee 100644 |
| --- a/src/parser.h |
| +++ b/src/parser.h |
| @@ -618,7 +618,8 @@ class Parser : public ParserBase<ParserTraits> { |
| private: |
| friend class ParserTraits; |
| - static const int kMaxNumFunctionLocals = 131071; // 2^17-1 |
| + // Nobody really knows why we need this limit. :( |
| + static const int kMaxNumFunctionLocals = 262143; // 2^18-1 |
| enum Mode { |
| PARSE_LAZILY, |