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

Unified Diff: runtime/vm/object_store.h

Issue 3003583002: [VM, Precompiler] PoC Obfuscator (Closed)
Patch Set: Discard obfuscation map Created 3 years, 4 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
Index: runtime/vm/object_store.h
diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h
index e12fb5d06808755afdd8dc49a0ccd4ec82f5a5ae..757b5fd8a799c4a99b45fe835b4e4aafe8bf0534 100644
--- a/runtime/vm/object_store.h
+++ b/runtime/vm/object_store.h
@@ -405,6 +405,11 @@ class ObjectStore {
token_objects_map_ = value.raw();
}
+ RawArray* obfuscation_map() const { return obfuscation_map_; }
+ void set_obfuscation_map(const Array& value) {
+ obfuscation_map_ = value.raw();
+ }
+
RawGrowableObjectArray* megamorphic_cache_table() const {
return megamorphic_cache_table_;
}
@@ -581,6 +586,7 @@ class ObjectStore {
V(RawArray*, unique_dynamic_targets_) \
V(RawGrowableObjectArray*, token_objects_) \
V(RawArray*, token_objects_map_) \
+ V(RawArray*, obfuscation_map_) \
V(RawGrowableObjectArray*, megamorphic_cache_table_) \
V(RawCode*, megamorphic_miss_code_) \
V(RawFunction*, megamorphic_miss_function_) \

Powered by Google App Engine
This is Rietveld 408576698