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

Unified Diff: runtime/vm/snapshot.cc

Issue 1151013005: Serialize maps without hashes. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: _getIndexSize and name constant 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/raw_object_snapshot.cc ('k') | tests/isolate/message3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot.cc
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc
index 6bce49759d8c85b5d296bb4135e99689163bdbab..513ac253b794da972742f1a58c0bfdf32f714d84 100644
--- a/runtime/vm/snapshot.cc
+++ b/runtime/vm/snapshot.cc
@@ -1129,11 +1129,9 @@ void SnapshotReader::ArrayReadFrom(const Array& result,
result.SetTypeArguments(*TypeArgumentsHandle());
bool is_canonical = RawObject::IsCanonical(tags);
- Object& obj = Object::Handle(isolate());
for (intptr_t i = 0; i < len; i++) {
*PassiveObjectHandle() = is_canonical ? ReadObjectImpl() : ReadObjectRef();
- obj = (*PassiveObjectHandle()).raw();
result.SetAt(i, *PassiveObjectHandle());
}
}
« no previous file with comments | « runtime/vm/raw_object_snapshot.cc ('k') | tests/isolate/message3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698