OLD | NEW |
---|---|
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 #ifndef RUNTIME_VM_PROGRAM_VISITOR_H_ | 5 #ifndef RUNTIME_VM_PROGRAM_VISITOR_H_ |
6 #define RUNTIME_VM_PROGRAM_VISITOR_H_ | 6 #define RUNTIME_VM_PROGRAM_VISITOR_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 | 9 |
10 namespace dart { | 10 namespace dart { |
(...skipping 15 matching lines...) Expand all Loading... | |
26 public: | 26 public: |
27 static void VisitFunctions(FunctionVisitor* visitor); | 27 static void VisitFunctions(FunctionVisitor* visitor); |
28 static void VisitClasses(ClassVisitor* visitor); | 28 static void VisitClasses(ClassVisitor* visitor); |
29 | 29 |
30 static void Dedup(); | 30 static void Dedup(); |
31 | 31 |
32 private: | 32 private: |
33 static void ShareMegamorphicBuckets(); | 33 static void ShareMegamorphicBuckets(); |
34 static void DedupStackMaps(); | 34 static void DedupStackMaps(); |
35 static void DedupPcDescriptors(); | 35 static void DedupPcDescriptors(); |
36 #if !defined(DART_PRECOMPILED_RUNTIME) | |
36 static void DedupDeoptEntries(); | 37 static void DedupDeoptEntries(); |
zra
2017/06/30 00:07:00
NOT_IN_PRECOMPILED(static void DedupDeoptEntries()
Aske Simon Christensen
2017/07/03 13:41:08
Done.
| |
38 #endif | |
37 static void DedupCodeSourceMaps(); | 39 static void DedupCodeSourceMaps(); |
38 static void DedupLists(); | 40 static void DedupLists(); |
39 static void DedupInstructions(); | 41 static void DedupInstructions(); |
40 }; | 42 }; |
41 | 43 |
42 } // namespace dart | 44 } // namespace dart |
43 | 45 |
44 #endif // RUNTIME_VM_PROGRAM_VISITOR_H_ | 46 #endif // RUNTIME_VM_PROGRAM_VISITOR_H_ |
OLD | NEW |