Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: runtime/vm/object_store.h

Issue 2147493005: Remove per-isolate compile-time constants cache. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/object_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_store.h
diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h
index 4e0fe885b3b46dfe1e1852f0391b9a581914d740..54b7044b1a5036b9a534fa22b5157f600742249a 100644
--- a/runtime/vm/object_store.h
+++ b/runtime/vm/object_store.h
@@ -440,13 +440,6 @@ class ObjectStore {
return OFFSET_OF(ObjectStore, library_load_error_table_);
}
- RawArray* vm_compile_time_constants() const {
- return vm_compile_time_constants_;
- }
- void set_vm_compile_time_constants(const Array& value) {
- vm_compile_time_constants_ = value.raw();
- }
-
RawArray* unique_dynamic_targets() const {
return unique_dynamic_targets_;
}
@@ -579,7 +572,6 @@ class ObjectStore {
V(RawTypedData*, empty_uint32_array_) \
V(RawFunction*, handle_message_function_) \
V(RawArray*, library_load_error_table_) \
- V(RawArray*, vm_compile_time_constants_) \
V(RawArray*, unique_dynamic_targets_) \
V(RawGrowableObjectArray*, token_objects_) \
V(RawArray*, token_objects_map_) \
@@ -598,7 +590,7 @@ OBJECT_STORE_FIELD_LIST(DECLARE_OBJECT_STORE_FIELD)
RawObject** to_snapshot(Snapshot::Kind kind) {
switch (kind) {
case Snapshot::kCore:
- return reinterpret_cast<RawObject**>(&vm_compile_time_constants_);
+ return reinterpret_cast<RawObject**>(&library_load_error_table_);
case Snapshot::kAppWithJIT:
case Snapshot::kAppNoJIT:
return to();
« no previous file with comments | « no previous file | runtime/vm/object_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698