OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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/class_finalizer.h" | 5 #include "vm/class_finalizer.h" |
6 | 6 |
7 #include "vm/code_generator.h" | |
8 #include "vm/flags.h" | 7 #include "vm/flags.h" |
9 #include "vm/hash_table.h" | 8 #include "vm/hash_table.h" |
10 #include "vm/heap.h" | 9 #include "vm/heap.h" |
11 #include "vm/isolate.h" | 10 #include "vm/isolate.h" |
| 11 #include "vm/log.h" |
12 #include "vm/longjump.h" | 12 #include "vm/longjump.h" |
13 #include "vm/log.h" | |
14 #include "vm/object_store.h" | 13 #include "vm/object_store.h" |
15 #include "vm/program_visitor.h" | 14 #include "vm/program_visitor.h" |
| 15 #include "vm/runtime_entry.h" |
16 #include "vm/symbols.h" | 16 #include "vm/symbols.h" |
17 #include "vm/timeline.h" | 17 #include "vm/timeline.h" |
18 #include "vm/type_table.h" | 18 #include "vm/type_table.h" |
19 | 19 |
20 namespace dart { | 20 namespace dart { |
21 | 21 |
22 DEFINE_FLAG(bool, print_classes, false, "Prints details about loaded classes."); | 22 DEFINE_FLAG(bool, print_classes, false, "Prints details about loaded classes."); |
23 DEFINE_FLAG(bool, reify, true, "Reify type arguments of generic types."); | 23 DEFINE_FLAG(bool, reify, true, "Reify type arguments of generic types."); |
24 DEFINE_FLAG(bool, trace_class_finalization, false, "Trace class finalization."); | 24 DEFINE_FLAG(bool, trace_class_finalization, false, "Trace class finalization."); |
25 DEFINE_FLAG(bool, trace_type_finalization, false, "Trace type finalization."); | 25 DEFINE_FLAG(bool, trace_type_finalization, false, "Trace type finalization."); |
(...skipping 3744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3770 ProgramVisitor::VisitFunctions(&function_visitor); | 3770 ProgramVisitor::VisitFunctions(&function_visitor); |
3771 | 3771 |
3772 class ClearCodeClassVisitor : public ClassVisitor { | 3772 class ClearCodeClassVisitor : public ClassVisitor { |
3773 void Visit(const Class& cls) { cls.DisableAllocationStub(); } | 3773 void Visit(const Class& cls) { cls.DisableAllocationStub(); } |
3774 }; | 3774 }; |
3775 ClearCodeClassVisitor class_visitor; | 3775 ClearCodeClassVisitor class_visitor; |
3776 ProgramVisitor::VisitClasses(&class_visitor); | 3776 ProgramVisitor::VisitClasses(&class_visitor); |
3777 } | 3777 } |
3778 | 3778 |
3779 } // namespace dart | 3779 } // namespace dart |
OLD | NEW |