| 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/become.h" | 10 #include "vm/become.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "vm/timeline.h" | 44 #include "vm/timeline.h" |
| 45 #include "vm/timer.h" | 45 #include "vm/timer.h" |
| 46 #include "vm/type_table.h" | 46 #include "vm/type_table.h" |
| 47 #include "vm/unicode.h" | 47 #include "vm/unicode.h" |
| 48 #include "vm/weak_code.h" | 48 #include "vm/weak_code.h" |
| 49 | 49 |
| 50 namespace dart { | 50 namespace dart { |
| 51 | 51 |
| 52 DEFINE_FLAG(int, huge_method_cutoff_in_code_size, 200000, | 52 DEFINE_FLAG(int, huge_method_cutoff_in_code_size, 200000, |
| 53 "Huge method cutoff in unoptimized code size (in bytes)."); | 53 "Huge method cutoff in unoptimized code size (in bytes)."); |
| 54 DEFINE_FLAG(int, huge_method_cutoff_in_tokens, 20000, | |
| 55 "Huge method cutoff in tokens: Disables optimizations for huge methods."); | |
| 56 DEFINE_FLAG(bool, overlap_type_arguments, true, | 54 DEFINE_FLAG(bool, overlap_type_arguments, true, |
| 57 "When possible, partially or fully overlap the type arguments of a type " | 55 "When possible, partially or fully overlap the type arguments of a type " |
| 58 "with the type arguments of its super type."); | 56 "with the type arguments of its super type."); |
| 59 DEFINE_FLAG(bool, show_internal_names, false, | 57 DEFINE_FLAG(bool, show_internal_names, false, |
| 60 "Show names of internal classes (e.g. \"OneByteString\") in error messages " | 58 "Show names of internal classes (e.g. \"OneByteString\") in error messages " |
| 61 "instead of showing the corresponding interface names (e.g. \"String\")"); | 59 "instead of showing the corresponding interface names (e.g. \"String\")"); |
| 62 DEFINE_FLAG(bool, use_lib_cache, true, "Use library name cache"); | 60 DEFINE_FLAG(bool, use_lib_cache, true, "Use library name cache"); |
| 63 DEFINE_FLAG(bool, use_exp_cache, true, "Use library exported name cache"); | 61 DEFINE_FLAG(bool, use_exp_cache, true, "Use library exported name cache"); |
| 64 DEFINE_FLAG(bool, ignore_patch_signature_mismatch, false, | 62 DEFINE_FLAG(bool, ignore_patch_signature_mismatch, false, |
| 65 "Ignore patch file member signature mismatch."); | 63 "Ignore patch file member signature mismatch."); |
| (...skipping 22657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22723 return UserTag::null(); | 22721 return UserTag::null(); |
| 22724 } | 22722 } |
| 22725 | 22723 |
| 22726 | 22724 |
| 22727 const char* UserTag::ToCString() const { | 22725 const char* UserTag::ToCString() const { |
| 22728 const String& tag_label = String::Handle(label()); | 22726 const String& tag_label = String::Handle(label()); |
| 22729 return tag_label.ToCString(); | 22727 return tag_label.ToCString(); |
| 22730 } | 22728 } |
| 22731 | 22729 |
| 22732 } // namespace dart | 22730 } // namespace dart |
| OLD | NEW |