| 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 void DropFields(); | 375 void DropFields(); |
| 376 void TraceTypesFromRetainedClasses(); | 376 void TraceTypesFromRetainedClasses(); |
| 377 void DropTypes(); | 377 void DropTypes(); |
| 378 void DropTypeArguments(); | 378 void DropTypeArguments(); |
| 379 void DropScriptData(); | 379 void DropScriptData(); |
| 380 void DropClasses(); | 380 void DropClasses(); |
| 381 void DropLibraries(); | 381 void DropLibraries(); |
| 382 | 382 |
| 383 void BindStaticCalls(); | 383 void BindStaticCalls(); |
| 384 void SwitchICCalls(); | 384 void SwitchICCalls(); |
| 385 void ShareMegamorphicBuckets(); |
| 385 void DedupStackmaps(); | 386 void DedupStackmaps(); |
| 386 void DedupStackmapLists(); | 387 void DedupLists(); |
| 387 void DedupInstructions(); | 388 void DedupInstructions(); |
| 388 void ResetPrecompilerState(); | 389 void ResetPrecompilerState(); |
| 389 | 390 |
| 390 void CollectDynamicFunctionNames(); | 391 void CollectDynamicFunctionNames(); |
| 391 | 392 |
| 392 void PrecompileStaticInitializers(); | 393 void PrecompileStaticInitializers(); |
| 393 void PrecompileConstructors(); | 394 void PrecompileConstructors(); |
| 394 | 395 |
| 395 template<typename T> | 396 template<typename T> |
| 396 class Visitor : public ValueObject { | 397 class Visitor : public ValueObject { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 return function.raw(); | 471 return function.raw(); |
| 471 } | 472 } |
| 472 }; | 473 }; |
| 473 | 474 |
| 474 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet; | 475 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet; |
| 475 | 476 |
| 476 | 477 |
| 477 } // namespace dart | 478 } // namespace dart |
| 478 | 479 |
| 479 #endif // VM_PRECOMPILER_H_ | 480 #endif // VM_PRECOMPILER_H_ |
| OLD | NEW |