| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 DEFINE_FLAG(int, huge_method_cutoff_in_code_size, 200000, | 49 DEFINE_FLAG(int, huge_method_cutoff_in_code_size, 200000, |
| 50 "Huge method cutoff in unoptimized code size (in bytes)."); | 50 "Huge method cutoff in unoptimized code size (in bytes)."); |
| 51 DEFINE_FLAG(int, huge_method_cutoff_in_tokens, 20000, | 51 DEFINE_FLAG(int, huge_method_cutoff_in_tokens, 20000, |
| 52 "Huge method cutoff in tokens: Disables optimizations for huge methods."); | 52 "Huge method cutoff in tokens: Disables optimizations for huge methods."); |
| 53 DEFINE_FLAG(bool, overlap_type_arguments, true, | 53 DEFINE_FLAG(bool, overlap_type_arguments, true, |
| 54 "When possible, partially or fully overlap the type arguments of a type " | 54 "When possible, partially or fully overlap the type arguments of a type " |
| 55 "with the type arguments of its super type."); | 55 "with the type arguments of its super type."); |
| 56 DEFINE_FLAG(bool, show_internal_names, false, | 56 DEFINE_FLAG(bool, show_internal_names, false, |
| 57 "Show names of internal classes (e.g. \"OneByteString\") in error messages " | 57 "Show names of internal classes (e.g. \"OneByteString\") in error messages " |
| 58 "instead of showing the corresponding interface names (e.g. \"String\")"); | 58 "instead of showing the corresponding interface names (e.g. \"String\")"); |
| 59 DEFINE_FLAG(bool, trace_cha, false, "Trace CHA operations"); | |
| 60 DEFINE_FLAG(bool, use_field_guards, true, "Guard field cids."); | 59 DEFINE_FLAG(bool, use_field_guards, true, "Guard field cids."); |
| 61 DEFINE_FLAG(bool, use_lib_cache, true, "Use library name cache"); | 60 DEFINE_FLAG(bool, use_lib_cache, true, "Use library name cache"); |
| 62 DEFINE_FLAG(bool, trace_field_guards, false, "Trace changes in field's cids."); | |
| 63 DEFINE_FLAG(bool, ignore_patch_signature_mismatch, false, | 61 DEFINE_FLAG(bool, ignore_patch_signature_mismatch, false, |
| 64 "Ignore patch file member signature mismatch."); | 62 "Ignore patch file member signature mismatch."); |
| 65 | 63 |
| 66 DECLARE_FLAG(charp, coverage_dir); | 64 DECLARE_FLAG(charp, coverage_dir); |
| 67 DECLARE_FLAG(bool, load_deferred_eagerly); | 65 DECLARE_FLAG(bool, load_deferred_eagerly); |
| 68 DECLARE_FLAG(bool, precompilation); | 66 DECLARE_FLAG(bool, precompilation); |
| 69 DECLARE_FLAG(bool, show_invisible_frames); | 67 DECLARE_FLAG(bool, show_invisible_frames); |
| 70 DECLARE_FLAG(bool, trace_deoptimization); | 68 DECLARE_FLAG(bool, trace_deoptimization); |
| 71 DECLARE_FLAG(bool, trace_deoptimization_verbose); | 69 DECLARE_FLAG(bool, trace_deoptimization_verbose); |
| 72 DECLARE_FLAG(bool, write_protect_code); | 70 DECLARE_FLAG(bool, write_protect_code); |
| (...skipping 21359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21432 return UserTag::null(); | 21430 return UserTag::null(); |
| 21433 } | 21431 } |
| 21434 | 21432 |
| 21435 | 21433 |
| 21436 const char* UserTag::ToCString() const { | 21434 const char* UserTag::ToCString() const { |
| 21437 const String& tag_label = String::Handle(label()); | 21435 const String& tag_label = String::Handle(label()); |
| 21438 return tag_label.ToCString(); | 21436 return tag_label.ToCString(); |
| 21439 } | 21437 } |
| 21440 | 21438 |
| 21441 } // namespace dart | 21439 } // namespace dart |
| OLD | NEW |