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

Unified Diff: runtime/vm/raw_object.h

Issue 1151523002: VM-internalize the default Map implementation. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix fingerprints. Created 5 years, 7 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 | « runtime/vm/object_test.cc ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index 6af4f0b1734bf9f36362f968a9617145e0d1bca0..f571979ac5c49fb1421365a4ad4aab9f5933f812 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -1698,12 +1698,16 @@ class RawLinkedHashMap : public RawInstance {
return reinterpret_cast<RawObject**>(&ptr()->type_arguments_);
}
RawTypeArguments* type_arguments_;
- RawInstance* cme_mark_;
+ RawTypedData* index_;
+ RawSmi* hash_mask_;
RawArray* data_;
+ RawSmi* used_data_;
+ RawSmi* deleted_keys_;
RawObject** to() {
- return reinterpret_cast<RawObject**>(&ptr()->data_);
+ return reinterpret_cast<RawObject**>(&ptr()->deleted_keys_);
}
+
friend class SnapshotReader;
};
« no previous file with comments | « runtime/vm/object_test.cc ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698