| 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/hash_table.h" | 10 #include "vm/hash_table.h" |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 void AddClosureCall(const ICData& call_site); | 292 void AddClosureCall(const ICData& call_site); |
| 293 void AddField(const Field& field); | 293 void AddField(const Field& field); |
| 294 void AddFunction(const Function& function); | 294 void AddFunction(const Function& function); |
| 295 void AddInstantiatedClass(const Class& cls); | 295 void AddInstantiatedClass(const Class& cls); |
| 296 void AddSelector(const String& selector); | 296 void AddSelector(const String& selector); |
| 297 bool IsSent(const String& selector); | 297 bool IsSent(const String& selector); |
| 298 | 298 |
| 299 void ProcessFunction(const Function& function); | 299 void ProcessFunction(const Function& function); |
| 300 void CheckForNewDynamicFunctions(); | 300 void CheckForNewDynamicFunctions(); |
| 301 void TraceConstFunctions(); | 301 void TraceConstFunctions(); |
| 302 void CollectCallbackFields(); |
| 302 | 303 |
| 303 void TraceForRetainedFunctions(); | 304 void TraceForRetainedFunctions(); |
| 304 void DropFunctions(); | 305 void DropFunctions(); |
| 305 void DropFields(); | 306 void DropFields(); |
| 306 void TraceTypesFromRetainedClasses(); | 307 void TraceTypesFromRetainedClasses(); |
| 307 void DropTypes(); | 308 void DropTypes(); |
| 308 void DropTypeArguments(); | 309 void DropTypeArguments(); |
| 309 void DropScriptData(); | 310 void DropScriptData(); |
| 310 void DropClasses(); | 311 void DropClasses(); |
| 311 void DropLibraries(); | 312 void DropLibraries(); |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 return function.raw(); | 397 return function.raw(); |
| 397 } | 398 } |
| 398 }; | 399 }; |
| 399 | 400 |
| 400 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet; | 401 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet; |
| 401 | 402 |
| 402 | 403 |
| 403 } // namespace dart | 404 } // namespace dart |
| 404 | 405 |
| 405 #endif // VM_PRECOMPILER_H_ | 406 #endif // VM_PRECOMPILER_H_ |
| OLD | NEW |