OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "vm/parser.h" | 5 #include "vm/parser.h" |
6 #include "vm/flags.h" | 6 #include "vm/flags.h" |
7 | 7 |
8 #ifndef DART_PRECOMPILED_RUNTIME | 8 #ifndef DART_PRECOMPILED_RUNTIME |
9 | 9 |
10 #include "lib/invocation_mirror.h" | 10 #include "lib/invocation_mirror.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 DEFINE_FLAG(bool, trace_parser, false, "Trace parser operations."); | 49 DEFINE_FLAG(bool, trace_parser, false, "Trace parser operations."); |
50 DEFINE_FLAG(bool, warn_mixin_typedef, true, "Warning on legacy mixin typedef."); | 50 DEFINE_FLAG(bool, warn_mixin_typedef, true, "Warning on legacy mixin typedef."); |
51 DEFINE_FLAG(bool, link_natives_lazily, false, "Link native calls lazily"); | 51 DEFINE_FLAG(bool, link_natives_lazily, false, "Link native calls lazily"); |
52 DEFINE_FLAG(bool, conditional_directives, false, | 52 DEFINE_FLAG(bool, conditional_directives, false, |
53 "Enable conditional directives"); | 53 "Enable conditional directives"); |
54 DEFINE_FLAG(bool, warn_super, false, | 54 DEFINE_FLAG(bool, warn_super, false, |
55 "Warning if super initializer not last in initializer list."); | 55 "Warning if super initializer not last in initializer list."); |
56 DEFINE_FLAG(bool, await_is_keyword, false, | 56 DEFINE_FLAG(bool, await_is_keyword, false, |
57 "await and yield are treated as proper keywords in synchronous code."); | 57 "await and yield are treated as proper keywords in synchronous code."); |
58 | 58 |
59 DECLARE_FLAG(bool, lazy_dispatchers); | |
60 DECLARE_FLAG(bool, load_deferred_eagerly); | 59 DECLARE_FLAG(bool, load_deferred_eagerly); |
61 DECLARE_FLAG(bool, profile_vm); | 60 DECLARE_FLAG(bool, profile_vm); |
62 | 61 |
63 // Quick access to the current thread, isolate and zone. | 62 // Quick access to the current thread, isolate and zone. |
64 #define T (thread()) | 63 #define T (thread()) |
65 #define I (isolate()) | 64 #define I (isolate()) |
66 #define Z (zone()) | 65 #define Z (zone()) |
67 | 66 |
68 // Quick synthetic token position. | 67 // Quick synthetic token position. |
69 #define ST(token_pos) ((token_pos).ToSynthetic()) | 68 #define ST(token_pos) ((token_pos).ToSynthetic()) |
(...skipping 14338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14408 const ArgumentListNode& function_args, | 14407 const ArgumentListNode& function_args, |
14409 const LocalVariable* temp_for_last_arg, | 14408 const LocalVariable* temp_for_last_arg, |
14410 bool is_super_invocation) { | 14409 bool is_super_invocation) { |
14411 UNREACHABLE(); | 14410 UNREACHABLE(); |
14412 return NULL; | 14411 return NULL; |
14413 } | 14412 } |
14414 | 14413 |
14415 } // namespace dart | 14414 } // namespace dart |
14416 | 14415 |
14417 #endif // DART_PRECOMPILED_RUNTIME | 14416 #endif // DART_PRECOMPILED_RUNTIME |
OLD | NEW |