| 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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 void ResetPrecompilerState(); | 466 void ResetPrecompilerState(); |
| 467 | 467 |
| 468 void CollectDynamicFunctionNames(); | 468 void CollectDynamicFunctionNames(); |
| 469 | 469 |
| 470 void PrecompileStaticInitializers(); | 470 void PrecompileStaticInitializers(); |
| 471 void PrecompileConstructors(); | 471 void PrecompileConstructors(); |
| 472 | 472 |
| 473 void FinalizeAllClasses(); | 473 void FinalizeAllClasses(); |
| 474 void SortClasses(); | 474 void SortClasses(); |
| 475 void RemapClassIds(intptr_t* old_to_new_cid); | 475 void RemapClassIds(intptr_t* old_to_new_cid); |
| 476 void RehashTypes(); |
| 476 void VerifyJITFeedback(); | 477 void VerifyJITFeedback(); |
| 477 RawScript* LookupScript(const char* uri); | 478 RawScript* LookupScript(const char* uri); |
| 478 intptr_t MapCid(intptr_t feedback_cid); | 479 intptr_t MapCid(intptr_t feedback_cid); |
| 479 | 480 |
| 480 Thread* thread() const { return thread_; } | 481 Thread* thread() const { return thread_; } |
| 481 Zone* zone() const { return zone_; } | 482 Zone* zone() const { return zone_; } |
| 482 Isolate* isolate() const { return isolate_; } | 483 Isolate* isolate() const { return isolate_; } |
| 483 | 484 |
| 484 Thread* thread_; | 485 Thread* thread_; |
| 485 Zone* zone_; | 486 Zone* zone_; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 } | 543 } |
| 543 static RawObject* NewKey(const Function& function) { return function.raw(); } | 544 static RawObject* NewKey(const Function& function) { return function.raw(); } |
| 544 }; | 545 }; |
| 545 | 546 |
| 546 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet; | 547 typedef UnorderedHashSet<FunctionsTraits> UniqueFunctionsSet; |
| 547 | 548 |
| 548 | 549 |
| 549 } // namespace dart | 550 } // namespace dart |
| 550 | 551 |
| 551 #endif // RUNTIME_VM_PRECOMPILER_H_ | 552 #endif // RUNTIME_VM_PRECOMPILER_H_ |
| OLD | NEW |