| 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 23 matching lines...) Expand all Loading... |
| 34 #include "vm/scopes.h" | 34 #include "vm/scopes.h" |
| 35 #include "vm/stack_frame.h" | 35 #include "vm/stack_frame.h" |
| 36 #include "vm/symbols.h" | 36 #include "vm/symbols.h" |
| 37 #include "vm/tags.h" | 37 #include "vm/tags.h" |
| 38 #include "vm/timer.h" | 38 #include "vm/timer.h" |
| 39 #include "vm/zone.h" | 39 #include "vm/zone.h" |
| 40 | 40 |
| 41 namespace dart { | 41 namespace dart { |
| 42 | 42 |
| 43 DEFINE_FLAG(bool, enable_debug_break, false, "Allow use of break \"message\"."); | 43 DEFINE_FLAG(bool, enable_debug_break, false, "Allow use of break \"message\"."); |
| 44 DEFINE_FLAG(bool, enable_mirrors, true, | |
| 45 "Disable to make importing dart:mirrors an error."); | |
| 46 DEFINE_FLAG(bool, load_deferred_eagerly, false, | 44 DEFINE_FLAG(bool, load_deferred_eagerly, false, |
| 47 "Load deferred libraries eagerly."); | 45 "Load deferred libraries eagerly."); |
| 48 DEFINE_FLAG(bool, trace_parser, false, "Trace parser operations."); | 46 DEFINE_FLAG(bool, trace_parser, false, "Trace parser operations."); |
| 49 DEFINE_FLAG(bool, warn_mixin_typedef, true, "Warning on legacy mixin typedef."); | 47 DEFINE_FLAG(bool, warn_mixin_typedef, true, "Warning on legacy mixin typedef."); |
| 50 DEFINE_FLAG(bool, link_natives_lazily, false, "Link native calls lazily"); | 48 DEFINE_FLAG(bool, link_natives_lazily, false, "Link native calls lazily"); |
| 51 DEFINE_FLAG(bool, conditional_directives, false, | 49 DEFINE_FLAG(bool, conditional_directives, false, |
| 52 "Enable conditional directives"); | 50 "Enable conditional directives"); |
| 53 DEFINE_FLAG(bool, warn_super, false, | 51 DEFINE_FLAG(bool, warn_super, false, |
| 54 "Warning if super initializer not last in initializer list."); | 52 "Warning if super initializer not last in initializer list."); |
| 55 DEFINE_FLAG(bool, await_is_keyword, false, | 53 DEFINE_FLAG(bool, await_is_keyword, false, |
| (...skipping 14285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14341 } | 14339 } |
| 14342 | 14340 |
| 14343 } // namespace dart | 14341 } // namespace dart |
| 14344 | 14342 |
| 14345 | 14343 |
| 14346 #else // DART_PRECOMPILED_RUNTIME | 14344 #else // DART_PRECOMPILED_RUNTIME |
| 14347 | 14345 |
| 14348 | 14346 |
| 14349 namespace dart { | 14347 namespace dart { |
| 14350 | 14348 |
| 14351 DEFINE_FLAG(bool, enable_mirrors, true, | |
| 14352 "Disable to make importing dart:mirrors an error."); | |
| 14353 DEFINE_FLAG(bool, load_deferred_eagerly, false, | 14349 DEFINE_FLAG(bool, load_deferred_eagerly, false, |
| 14354 "Load deferred libraries eagerly."); | 14350 "Load deferred libraries eagerly."); |
| 14355 DEFINE_FLAG(bool, link_natives_lazily, false, "Link native calls lazily"); | 14351 DEFINE_FLAG(bool, link_natives_lazily, false, "Link native calls lazily"); |
| 14356 | 14352 |
| 14357 | 14353 |
| 14358 void ParsedFunction::AddToGuardedFields(const Field* field) const { | 14354 void ParsedFunction::AddToGuardedFields(const Field* field) const { |
| 14359 UNREACHABLE(); | 14355 UNREACHABLE(); |
| 14360 } | 14356 } |
| 14361 | 14357 |
| 14362 | 14358 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14427 const ArgumentListNode& function_args, | 14423 const ArgumentListNode& function_args, |
| 14428 const LocalVariable* temp_for_last_arg, | 14424 const LocalVariable* temp_for_last_arg, |
| 14429 bool is_super_invocation) { | 14425 bool is_super_invocation) { |
| 14430 UNREACHABLE(); | 14426 UNREACHABLE(); |
| 14431 return NULL; | 14427 return NULL; |
| 14432 } | 14428 } |
| 14433 | 14429 |
| 14434 } // namespace dart | 14430 } // namespace dart |
| 14435 | 14431 |
| 14436 #endif // DART_PRECOMPILED_RUNTIME | 14432 #endif // DART_PRECOMPILED_RUNTIME |
| OLD | NEW |