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

Unified Diff: runtime/vm/snapshot.cc

Issue 9003015: Extend sign bit before serializing it. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years 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
« runtime/vm/snapshot.h ('K') | « runtime/vm/snapshot.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot.cc
===================================================================
--- runtime/vm/snapshot.cc (revision 2849)
+++ runtime/vm/snapshot.cc (working copy)
@@ -257,7 +257,7 @@
// First check if it is a Smi (i.e not a heap object).
if (!rawobj->IsHeapObject()) {
- Write<int64_t>(reinterpret_cast<int64_t>(rawobj));
+ WriteIntptrValue(reinterpret_cast<intptr_t>(rawobj));
siva 2012/01/03 22:55:17 Can we make this: Write<int64_t>(reinterpret_cast<
return;
}
« runtime/vm/snapshot.h ('K') | « runtime/vm/snapshot.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698