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

Unified Diff: runtime/vm/clustered_snapshot.cc

Issue 2996393002: . (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/clustered_snapshot.cc
diff --git a/runtime/vm/clustered_snapshot.cc b/runtime/vm/clustered_snapshot.cc
index 4d4ab986aedf043973d900e3b0925433fa0e01a4..fded5e40f29953257b034d497bab7e375f4cbd75 100644
--- a/runtime/vm/clustered_snapshot.cc
+++ b/runtime/vm/clustered_snapshot.cc
@@ -1746,7 +1746,11 @@ class ObjectPoolSerializationCluster : public SerializationCluster {
ObjectPool::EntryType entry_type =
static_cast<ObjectPool::EntryType>(info_array->ptr()->data()[i]);
if (entry_type == ObjectPool::kTaggedObject) {
- s->Push(pool->ptr()->data()[i].raw_obj_);
+ RawObject* entry = pool->ptr()->data()[i].raw_obj_;
+ if (entry == StubCode::FixCallersTarget_entry()->code()) {
+ s->UnexpectedObject(entry, "FixCallersTarget");
+ }
+ s->Push(entry);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698