| Index: src/parser.h
|
| ===================================================================
|
| --- src/parser.h (revision 7948)
|
| +++ src/parser.h (working copy)
|
| @@ -32,6 +32,7 @@
|
| #include "ast.h"
|
| #include "scanner.h"
|
| #include "scopes.h"
|
| +#include "preparse-data-format.h"
|
| #include "preparse-data.h"
|
|
|
| namespace v8 {
|
| @@ -448,6 +449,7 @@
|
| // 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 = 32767;
|
| FunctionLiteral* ParseLazy(CompilationInfo* info,
|
| UC16CharacterStream* source,
|
| ZoneScope* zone_scope);
|
| @@ -813,6 +815,8 @@
|
| Handle<Object> ReportUnexpectedToken() { return Handle<Object>::null(); }
|
| // Converts the currently parsed literal to a JavaScript String.
|
| Handle<String> GetString();
|
| + // Converts the currently parsed literal to a JavaScript Symbol String.
|
| + Handle<String> GetSymbol();
|
|
|
| Isolate* isolate_;
|
| JsonScanner scanner_;
|
|
|