| 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/object.h" | 5 #include "vm/object.h" |
| 6 | 6 |
| 7 #include "include/dart_api.h" | 7 #include "include/dart_api.h" |
| 8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
| 10 #include "vm/bigint_operations.h" | 10 #include "vm/bigint_operations.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "vm/scopes.h" | 30 #include "vm/scopes.h" |
| 31 #include "vm/stack_frame.h" | 31 #include "vm/stack_frame.h" |
| 32 #include "vm/symbols.h" | 32 #include "vm/symbols.h" |
| 33 #include "vm/timer.h" | 33 #include "vm/timer.h" |
| 34 #include "vm/unicode.h" | 34 #include "vm/unicode.h" |
| 35 | 35 |
| 36 namespace dart { | 36 namespace dart { |
| 37 | 37 |
| 38 DEFINE_FLAG(bool, generate_gdb_symbols, false, | 38 DEFINE_FLAG(bool, generate_gdb_symbols, false, |
| 39 "Generate symbols of generated dart functions for debugging with GDB"); | 39 "Generate symbols of generated dart functions for debugging with GDB"); |
| 40 DEFINE_FLAG(bool, reject_named_argument_as_positional, false, | 40 DEFINE_FLAG(bool, reject_named_argument_as_positional, true, |
| 41 "Enforce new rules for optional parameters and disallow passing of named " | 41 "Enforce new rules for optional parameters and disallow passing of named " |
| 42 "arguments to optional positional formal parameters"); | 42 "arguments to optional positional formal parameters"); |
| 43 DEFINE_FLAG(bool, show_internal_names, false, | 43 DEFINE_FLAG(bool, show_internal_names, false, |
| 44 "Show names of internal classes (e.g. \"OneByteString\") in error messages " | 44 "Show names of internal classes (e.g. \"OneByteString\") in error messages " |
| 45 "instead of showing the corresponding interface names (e.g. \"String\")"); | 45 "instead of showing the corresponding interface names (e.g. \"String\")"); |
| 46 DECLARE_FLAG(bool, trace_compiler); | 46 DECLARE_FLAG(bool, trace_compiler); |
| 47 DECLARE_FLAG(bool, eliminate_type_checks); | 47 DECLARE_FLAG(bool, eliminate_type_checks); |
| 48 DECLARE_FLAG(bool, enable_type_checks); | 48 DECLARE_FLAG(bool, enable_type_checks); |
| 49 | 49 |
| 50 static const char* kGetterPrefix = "get:"; | 50 static const char* kGetterPrefix = "get:"; |
| (...skipping 12154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12205 } | 12205 } |
| 12206 return result.raw(); | 12206 return result.raw(); |
| 12207 } | 12207 } |
| 12208 | 12208 |
| 12209 | 12209 |
| 12210 const char* WeakProperty::ToCString() const { | 12210 const char* WeakProperty::ToCString() const { |
| 12211 return "_WeakProperty"; | 12211 return "_WeakProperty"; |
| 12212 } | 12212 } |
| 12213 | 12213 |
| 12214 } // namespace dart | 12214 } // namespace dart |
| OLD | NEW |