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

Unified Diff: runtime/vm/clustered_snapshot.cc

Issue 2135033002: Restore writing ObjectPool immediates as intptr_t. (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 | 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 d2f899cb88409a5b57812048eaffc777be6ab566..0108528baaa2936beb97d5d2b2d08468f605a852 100644
--- a/runtime/vm/clustered_snapshot.cc
+++ b/runtime/vm/clustered_snapshot.cc
@@ -1613,7 +1613,7 @@ class ObjectPoolSerializationCluster : public SerializationCluster {
break;
}
case ObjectPool::kImmediate: {
- s->Write<int32_t>(entry.raw_value_);
+ s->Write<intptr_t>(entry.raw_value_);
break;
}
case ObjectPool::kNativeEntry: {
@@ -1679,7 +1679,7 @@ class ObjectPoolDeserializationCluster : public DeserializationCluster {
entry.raw_obj_ = d->ReadRef();
break;
case ObjectPool::kImmediate:
- entry.raw_value_ = d->Read<int32_t>();
+ entry.raw_value_ = d->Read<intptr_t>();
break;
case ObjectPool::kNativeEntry: {
#if !defined(TARGET_ARCH_DBC)
« 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