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" | |
11 #include "vm/globals.h" | 10 #include "vm/globals.h" |
12 #include "vm/growable_array.h" | 11 #include "vm/growable_array.h" |
| 12 #include "vm/hash_map.h" |
13 #include "vm/log.h" | 13 #include "vm/log.h" |
14 #include "vm/object.h" | 14 #include "vm/object.h" |
15 | 15 |
16 DECLARE_FLAG(bool, trace_reload); | 16 DECLARE_FLAG(bool, trace_reload); |
17 DECLARE_FLAG(bool, trace_reload_verbose); | 17 DECLARE_FLAG(bool, trace_reload_verbose); |
18 | 18 |
19 // 'Trace Isolate Reload' TIR_Print | 19 // 'Trace Isolate Reload' TIR_Print |
20 #if defined(_MSC_VER) | 20 #if defined(_MSC_VER) |
21 #define TIR_Print(format, ...) \ | 21 #define TIR_Print(format, ...) \ |
22 if (FLAG_trace_reload) Log::Current()->Print(format, __VA_ARGS__) | 22 if (FLAG_trace_reload) Log::Current()->Print(format, __VA_ARGS__) |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 friend class ObjectLocator; | 357 friend class ObjectLocator; |
358 friend class MarkFunctionsForRecompilation; // IsDirty. | 358 friend class MarkFunctionsForRecompilation; // IsDirty. |
359 friend class ReasonForCancelling; | 359 friend class ReasonForCancelling; |
360 | 360 |
361 static Dart_FileModifiedCallback file_modified_callback_; | 361 static Dart_FileModifiedCallback file_modified_callback_; |
362 }; | 362 }; |
363 | 363 |
364 } // namespace dart | 364 } // namespace dart |
365 | 365 |
366 #endif // RUNTIME_VM_ISOLATE_RELOAD_H_ | 366 #endif // RUNTIME_VM_ISOLATE_RELOAD_H_ |
OLD | NEW |