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 VM_ISOLATE_RELOAD_H_ | 5 #ifndef VM_ISOLATE_RELOAD_H_ |
6 #define VM_ISOLATE_RELOAD_H_ | 6 #define VM_ISOLATE_RELOAD_H_ |
7 | 7 |
8 #include "vm/globals.h" | 8 #include "vm/globals.h" |
9 #include "vm/growable_array.h" | 9 #include "vm/growable_array.h" |
10 #include "vm/log.h" | 10 #include "vm/log.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
105 #ifdef DEBUG | 105 #ifdef DEBUG |
106 void VerifyMaps(); | 106 void VerifyMaps(); |
107 #endif | 107 #endif |
108 | 108 |
109 void Commit(); | 109 void Commit(); |
110 | 110 |
111 void PostCommit(); | 111 void PostCommit(); |
112 | 112 |
113 void ClearReplacedObjectBits(); | 113 void ClearReplacedObjectBits(); |
114 | 114 |
115 void BuildCleanScriptSet(); | 115 void BuildCleanScriptSet(); |
Cutch
2016/07/08 01:06:25
BuildCleanScriptSet can go now too (I think)
turnidge
2016/07/11 21:00:42
Done.
| |
116 void FilterCompileTimeConstants(); | |
117 | 116 |
118 // atomic_install: | 117 // atomic_install: |
119 void MarkAllFunctionsForRecompilation(); | 118 void MarkAllFunctionsForRecompilation(); |
120 void ResetUnoptimizedICsOnStack(); | 119 void ResetUnoptimizedICsOnStack(); |
121 void ResetMegamorphicCaches(); | 120 void ResetMegamorphicCaches(); |
122 void InvalidateWorld(); | 121 void InvalidateWorld(); |
123 | 122 |
124 int64_t start_time_micros_; | 123 int64_t start_time_micros_; |
125 Isolate* isolate_; | 124 Isolate* isolate_; |
126 bool test_mode_; | 125 bool test_mode_; |
(...skipping 25 matching lines...) Expand all Loading... | |
152 | 151 |
153 void RebuildDirectSubclasses(); | 152 void RebuildDirectSubclasses(); |
154 | 153 |
155 RawClass* MappedClass(const Class& replacement_or_new); | 154 RawClass* MappedClass(const Class& replacement_or_new); |
156 RawLibrary* MappedLibrary(const Library& replacement_or_new); | 155 RawLibrary* MappedLibrary(const Library& replacement_or_new); |
157 | 156 |
158 RawObject** from() { return reinterpret_cast<RawObject**>(&script_uri_); } | 157 RawObject** from() { return reinterpret_cast<RawObject**>(&script_uri_); } |
159 RawString* script_uri_; | 158 RawString* script_uri_; |
160 RawError* error_; | 159 RawError* error_; |
161 RawArray* clean_scripts_set_storage_; | 160 RawArray* clean_scripts_set_storage_; |
162 RawArray* compile_time_constants_; | |
163 RawArray* old_classes_set_storage_; | 161 RawArray* old_classes_set_storage_; |
164 RawArray* class_map_storage_; | 162 RawArray* class_map_storage_; |
165 RawArray* old_libraries_set_storage_; | 163 RawArray* old_libraries_set_storage_; |
166 RawArray* library_map_storage_; | 164 RawArray* library_map_storage_; |
167 RawArray* become_map_storage_; | 165 RawArray* become_map_storage_; |
168 RawLibrary* saved_root_library_; | 166 RawLibrary* saved_root_library_; |
169 RawGrowableObjectArray* saved_libraries_; | 167 RawGrowableObjectArray* saved_libraries_; |
170 RawObject** to() { return reinterpret_cast<RawObject**>(&saved_libraries_); } | 168 RawObject** to() { return reinterpret_cast<RawObject**>(&saved_libraries_); } |
171 | 169 |
172 friend class Isolate; | 170 friend class Isolate; |
173 friend class Class; // AddStaticFieldMapping. | 171 friend class Class; // AddStaticFieldMapping. |
174 }; | 172 }; |
175 | 173 |
176 } // namespace dart | 174 } // namespace dart |
177 | 175 |
178 #endif // VM_ISOLATE_RELOAD_H_ | 176 #endif // VM_ISOLATE_RELOAD_H_ |
OLD | NEW |