Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(609)

Unified Diff: src/parser.h

Issue 206283002: Increase the "local variables in a function" limit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,
« no previous file with comments | « src/messages.js ('k') | test/mjsunit/limit-locals.js » ('j') | test/mjsunit/limit-locals.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698