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 VM_PRECOMPILER_H_ | 5 #ifndef VM_PRECOMPILER_H_ |
6 #define VM_PRECOMPILER_H_ | 6 #define VM_PRECOMPILER_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/hash_map.h" | 9 #include "vm/hash_map.h" |
10 #include "vm/object.h" | 10 #include "vm/object.h" |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 void ClearAllCode(); | 100 void ClearAllCode(); |
101 void AddRoots(Dart_QualifiedFunctionName embedder_entry_points[]); | 101 void AddRoots(Dart_QualifiedFunctionName embedder_entry_points[]); |
102 void AddEntryPoints(Dart_QualifiedFunctionName entry_points[]); | 102 void AddEntryPoints(Dart_QualifiedFunctionName entry_points[]); |
103 void Iterate(); | 103 void Iterate(); |
104 | 104 |
105 void AddCalleesOf(const Function& function); | 105 void AddCalleesOf(const Function& function); |
106 void AddConstObject(const Instance& instance); | 106 void AddConstObject(const Instance& instance); |
107 void AddClosureCall(const ICData& call_site); | 107 void AddClosureCall(const ICData& call_site); |
108 void AddField(const Field& field); | 108 void AddField(const Field& field); |
109 void AddFunction(const Function& function); | 109 void AddFunction(const Function& function); |
110 void AddClass(const Class& cls); | 110 void AddInstantiatedClass(const Class& cls); |
111 void AddSelector(const String& selector); | 111 void AddSelector(const String& selector); |
112 bool IsSent(const String& selector); | 112 bool IsSent(const String& selector); |
113 | 113 |
114 void ProcessFunction(const Function& function); | 114 void ProcessFunction(const Function& function); |
115 void CheckForNewDynamicFunctions(); | 115 void CheckForNewDynamicFunctions(); |
116 | 116 |
117 void DropUncompiledFunctions(); | 117 void DropUncompiledFunctions(); |
118 void BindStaticCalls(); | 118 void BindStaticCalls(); |
119 void DedupStackmaps(); | 119 void DedupStackmaps(); |
120 | 120 |
(...skipping 26 matching lines...) Expand all Loading... |
147 const GrowableObjectArray& libraries_; | 147 const GrowableObjectArray& libraries_; |
148 const GrowableObjectArray& pending_functions_; | 148 const GrowableObjectArray& pending_functions_; |
149 SymbolSet sent_selectors_; | 149 SymbolSet sent_selectors_; |
150 FunctionSet enqueued_functions_; | 150 FunctionSet enqueued_functions_; |
151 Error& error_; | 151 Error& error_; |
152 }; | 152 }; |
153 | 153 |
154 } // namespace dart | 154 } // namespace dart |
155 | 155 |
156 #endif // VM_PRECOMPILER_H_ | 156 #endif // VM_PRECOMPILER_H_ |
OLD | NEW |