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_PRECOMPILER_H_ | 5 #ifndef RUNTIME_VM_PRECOMPILER_H_ |
6 #define RUNTIME_VM_PRECOMPILER_H_ | 6 #define RUNTIME_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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 void TraceConstFunctions(); | 383 void TraceConstFunctions(); |
384 void CollectCallbackFields(); | 384 void CollectCallbackFields(); |
385 | 385 |
386 void TraceForRetainedFunctions(); | 386 void TraceForRetainedFunctions(); |
387 void DropFunctions(); | 387 void DropFunctions(); |
388 void DropFields(); | 388 void DropFields(); |
389 void TraceTypesFromRetainedClasses(); | 389 void TraceTypesFromRetainedClasses(); |
390 void DropTypes(); | 390 void DropTypes(); |
391 void DropTypeArguments(); | 391 void DropTypeArguments(); |
392 void DropScriptData(); | 392 void DropScriptData(); |
| 393 void DropMetadata(); |
393 void DropLibraryEntries(); | 394 void DropLibraryEntries(); |
394 void DropClasses(); | 395 void DropClasses(); |
395 void DropLibraries(); | 396 void DropLibraries(); |
396 | 397 |
397 void BindStaticCalls(); | 398 void BindStaticCalls(); |
398 void SwitchICCalls(); | 399 void SwitchICCalls(); |
399 void ResetPrecompilerState(); | 400 void ResetPrecompilerState(); |
400 | 401 |
401 void CollectDynamicFunctionNames(); | 402 void CollectDynamicFunctionNames(); |
402 | 403 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 } | 473 } |
473 } | 474 } |
474 static RawObject* NewKey(const Function& function) { return function.raw(); } | 475 static RawObject* NewKey(const Function& function) { return function.raw(); } |
475 }; | 476 }; |
476 | 477 |
477 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet; | 478 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet; |
478 | 479 |
479 } // namespace dart | 480 } // namespace dart |
480 | 481 |
481 #endif // RUNTIME_VM_PRECOMPILER_H_ | 482 #endif // RUNTIME_VM_PRECOMPILER_H_ |
OLD | NEW |