| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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_ISOLATE_RELOAD_H_ | 5 #ifndef RUNTIME_VM_ISOLATE_RELOAD_H_ |
| 6 #define RUNTIME_VM_ISOLATE_RELOAD_H_ | 6 #define RUNTIME_VM_ISOLATE_RELOAD_H_ |
| 7 | 7 |
| 8 #include "include/dart_tools_api.h" | 8 #include "include/dart_tools_api.h" |
| 9 | 9 |
| 10 #include "vm/hash_map.h" | 10 #include "vm/hash_map.h" |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 void RollbackLibraries(); | 240 void RollbackLibraries(); |
| 241 | 241 |
| 242 #ifdef DEBUG | 242 #ifdef DEBUG |
| 243 void VerifyMaps(); | 243 void VerifyMaps(); |
| 244 #endif | 244 #endif |
| 245 | 245 |
| 246 void Commit(); | 246 void Commit(); |
| 247 | 247 |
| 248 void PostCommit(); | 248 void PostCommit(); |
| 249 | 249 |
| 250 void RehashConstants(); |
| 251 |
| 250 void ClearReplacedObjectBits(); | 252 void ClearReplacedObjectBits(); |
| 251 | 253 |
| 252 // atomic_install: | 254 // atomic_install: |
| 253 void MarkAllFunctionsForRecompilation(); | 255 void MarkAllFunctionsForRecompilation(); |
| 254 void ResetUnoptimizedICsOnStack(); | 256 void ResetUnoptimizedICsOnStack(); |
| 255 void ResetMegamorphicCaches(); | 257 void ResetMegamorphicCaches(); |
| 256 void InvalidateWorld(); | 258 void InvalidateWorld(); |
| 257 | 259 |
| 258 // The zone used for all reload related allocations. | 260 // The zone used for all reload related allocations. |
| 259 Zone* zone_; | 261 Zone* zone_; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 friend class ObjectLocator; | 340 friend class ObjectLocator; |
| 339 friend class MarkFunctionsForRecompilation; // IsDirty. | 341 friend class MarkFunctionsForRecompilation; // IsDirty. |
| 340 friend class ReasonForCancelling; | 342 friend class ReasonForCancelling; |
| 341 | 343 |
| 342 static Dart_FileModifiedCallback file_modified_callback_; | 344 static Dart_FileModifiedCallback file_modified_callback_; |
| 343 }; | 345 }; |
| 344 | 346 |
| 345 } // namespace dart | 347 } // namespace dart |
| 346 | 348 |
| 347 #endif // RUNTIME_VM_ISOLATE_RELOAD_H_ | 349 #endif // RUNTIME_VM_ISOLATE_RELOAD_H_ |
| OLD | NEW |