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 26 matching lines...) Expand all Loading... |
37 #include "vm/tags.h" | 37 #include "vm/tags.h" |
38 #include "vm/timeline.h" | 38 #include "vm/timeline.h" |
39 #include "vm/timer.h" | 39 #include "vm/timer.h" |
40 #include "vm/zone.h" | 40 #include "vm/zone.h" |
41 | 41 |
42 namespace dart { | 42 namespace dart { |
43 | 43 |
44 DEFINE_FLAG(bool, enable_debug_break, false, "Allow use of break \"message\"."); | 44 DEFINE_FLAG(bool, enable_debug_break, false, "Allow use of break \"message\"."); |
45 DEFINE_FLAG(bool, trace_parser, false, "Trace parser operations."); | 45 DEFINE_FLAG(bool, trace_parser, false, "Trace parser operations."); |
46 DEFINE_FLAG(bool, warn_mixin_typedef, true, "Warning on legacy mixin typedef."); | 46 DEFINE_FLAG(bool, warn_mixin_typedef, true, "Warning on legacy mixin typedef."); |
47 DEFINE_FLAG(bool, conditional_directives, false, | 47 // TODO(floitsch): remove the conditional-directive flag, once we publicly |
| 48 // committed to the current version. |
| 49 DEFINE_FLAG(bool, conditional_directives, true, |
48 "Enable conditional directives"); | 50 "Enable conditional directives"); |
49 DEFINE_FLAG(bool, warn_super, false, | 51 DEFINE_FLAG(bool, warn_super, false, |
50 "Warning if super initializer not last in initializer list."); | 52 "Warning if super initializer not last in initializer list."); |
51 DEFINE_FLAG(bool, await_is_keyword, false, | 53 DEFINE_FLAG(bool, await_is_keyword, false, |
52 "await and yield are treated as proper keywords in synchronous code."); | 54 "await and yield are treated as proper keywords in synchronous code."); |
53 | 55 |
54 DECLARE_FLAG(bool, profile_vm); | 56 DECLARE_FLAG(bool, profile_vm); |
55 DECLARE_FLAG(bool, trace_service); | 57 DECLARE_FLAG(bool, trace_service); |
56 | 58 |
57 // Quick access to the current thread, isolate and zone. | 59 // Quick access to the current thread, isolate and zone. |
(...skipping 14421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14479 const ArgumentListNode& function_args, | 14481 const ArgumentListNode& function_args, |
14480 const LocalVariable* temp_for_last_arg, | 14482 const LocalVariable* temp_for_last_arg, |
14481 bool is_super_invocation) { | 14483 bool is_super_invocation) { |
14482 UNREACHABLE(); | 14484 UNREACHABLE(); |
14483 return NULL; | 14485 return NULL; |
14484 } | 14486 } |
14485 | 14487 |
14486 } // namespace dart | 14488 } // namespace dart |
14487 | 14489 |
14488 #endif // DART_PRECOMPILED_RUNTIME | 14490 #endif // DART_PRECOMPILED_RUNTIME |
OLD | NEW |