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/cpu.h" | 10 #include "vm/cpu.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 DEFINE_FLAG(bool, show_internal_names, false, | 59 DEFINE_FLAG(bool, show_internal_names, false, |
60 "Show names of internal classes (e.g. \"OneByteString\") in error messages " | 60 "Show names of internal classes (e.g. \"OneByteString\") in error messages " |
61 "instead of showing the corresponding interface names (e.g. \"String\")"); | 61 "instead of showing the corresponding interface names (e.g. \"String\")"); |
62 DEFINE_FLAG(bool, throw_on_javascript_int_overflow, false, | 62 DEFINE_FLAG(bool, throw_on_javascript_int_overflow, false, |
63 "Throw an exception when the result of an integer calculation will not " | 63 "Throw an exception when the result of an integer calculation will not " |
64 "fit into a javascript integer."); | 64 "fit into a javascript integer."); |
65 DEFINE_FLAG(bool, use_field_guards, true, "Guard field cids."); | 65 DEFINE_FLAG(bool, use_field_guards, true, "Guard field cids."); |
66 DEFINE_FLAG(bool, use_lib_cache, true, "Use library name cache"); | 66 DEFINE_FLAG(bool, use_lib_cache, true, "Use library name cache"); |
67 DEFINE_FLAG(bool, trace_field_guards, false, "Trace changes in field's cids."); | 67 DEFINE_FLAG(bool, trace_field_guards, false, "Trace changes in field's cids."); |
68 | 68 |
69 DECLARE_FLAG(bool, enable_type_checks); | |
70 DECLARE_FLAG(bool, error_on_bad_override); | 69 DECLARE_FLAG(bool, error_on_bad_override); |
71 DECLARE_FLAG(bool, trace_compiler); | 70 DECLARE_FLAG(bool, trace_compiler); |
72 DECLARE_FLAG(bool, trace_deoptimization); | 71 DECLARE_FLAG(bool, trace_deoptimization); |
73 DECLARE_FLAG(bool, trace_deoptimization_verbose); | 72 DECLARE_FLAG(bool, trace_deoptimization_verbose); |
74 DECLARE_FLAG(bool, show_invisible_frames); | 73 DECLARE_FLAG(bool, show_invisible_frames); |
75 DECLARE_FLAG(charp, coverage_dir); | 74 DECLARE_FLAG(charp, coverage_dir); |
76 DECLARE_FLAG(bool, write_protect_code); | 75 DECLARE_FLAG(bool, write_protect_code); |
77 | 76 |
78 static const char* kGetterPrefix = "get:"; | 77 static const char* kGetterPrefix = "get:"; |
79 static const intptr_t kGetterPrefixLength = strlen(kGetterPrefix); | 78 static const intptr_t kGetterPrefixLength = strlen(kGetterPrefix); |
(...skipping 20645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20725 return tag_label.ToCString(); | 20724 return tag_label.ToCString(); |
20726 } | 20725 } |
20727 | 20726 |
20728 | 20727 |
20729 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 20728 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
20730 Instance::PrintJSONImpl(stream, ref); | 20729 Instance::PrintJSONImpl(stream, ref); |
20731 } | 20730 } |
20732 | 20731 |
20733 | 20732 |
20734 } // namespace dart | 20733 } // namespace dart |
OLD | NEW |