Chromium Code Reviews| 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; |
| } |