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

Side by Side Diff: src/parser.cc

Issue 1935: New static flags system (Closed)
Patch Set: Merge, again. Created 12 years, 3 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 unified diff | Download patch
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 19 matching lines...) Expand all
30 #include "api.h" 30 #include "api.h"
31 #include "ast.h" 31 #include "ast.h"
32 #include "bootstrapper.h" 32 #include "bootstrapper.h"
33 #include "platform.h" 33 #include "platform.h"
34 #include "runtime.h" 34 #include "runtime.h"
35 #include "parser.h" 35 #include "parser.h"
36 #include "scopes.h" 36 #include "scopes.h"
37 37
38 namespace v8 { namespace internal { 38 namespace v8 { namespace internal {
39 39
40 DECLARE_bool(lazy);
41 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax");
42
43
44 class ParserFactory; 40 class ParserFactory;
45 class ParserLog; 41 class ParserLog;
46 class TemporaryScope; 42 class TemporaryScope;
47 template <typename T> class ZoneListWrapper; 43 template <typename T> class ZoneListWrapper;
48 44
49 45
50 class Parser { 46 class Parser {
51 public: 47 public:
52 Parser(Handle<Script> script, bool allow_natives_syntax, 48 Parser(Handle<Script> script, bool allow_natives_syntax,
53 v8::Extension* extension, bool is_pre_parsing, 49 v8::Extension* extension, bool is_pre_parsing,
(...skipping 3203 matching lines...) Expand 10 before | Expand all | Expand 10 after
3257 start_position, 3253 start_position,
3258 is_expression); 3254 is_expression);
3259 return result; 3255 return result;
3260 } 3256 }
3261 3257
3262 3258
3263 #undef NEW 3259 #undef NEW
3264 3260
3265 3261
3266 } } // namespace v8::internal 3262 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698