Index: runtime/vm/snapshot.cc |
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc |
index 59c4b35c7cd2733ba7c57c3743fcdb958f1eaf19..9c7997583372c672287080ad6e83e0de8e631cf6 100644 |
--- a/runtime/vm/snapshot.cc |
+++ b/runtime/vm/snapshot.cc |
@@ -1297,8 +1297,8 @@ RawObject* SnapshotReader::ReadVMIsolateObject(intptr_t header_value) { |
Object::transition_sentinel().raw()); |
READ_VM_SINGLETON_OBJ(kEmptyArrayObject, Object::empty_array().raw()); |
READ_VM_SINGLETON_OBJ(kZeroArrayObject, Object::zero_array().raw()); |
- READ_VM_SINGLETON_OBJ(kDynamicType, Object::dynamic_type()); |
- READ_VM_SINGLETON_OBJ(kVoidType, Object::void_type()); |
+ READ_VM_SINGLETON_OBJ(kDynamicType, Object::dynamic_type().raw()); |
+ READ_VM_SINGLETON_OBJ(kVoidType, Object::void_type().raw()); |
READ_VM_SINGLETON_OBJ(kTrueValue, Bool::True().raw()); |
READ_VM_SINGLETON_OBJ(kFalseValue, Bool::False().raw()); |
READ_VM_SINGLETON_OBJ(kExtractorParameterTypes, |
@@ -1637,8 +1637,8 @@ bool SnapshotWriter::HandleVMIsolateObject(RawObject* rawobj) { |
kTransitionSentinelObject); |
WRITE_VM_SINGLETON_OBJ(Object::empty_array().raw(), kEmptyArrayObject); |
WRITE_VM_SINGLETON_OBJ(Object::zero_array().raw(), kZeroArrayObject); |
- WRITE_VM_SINGLETON_OBJ(Object::dynamic_type(), kDynamicType); |
- WRITE_VM_SINGLETON_OBJ(Object::void_type(), kVoidType); |
+ WRITE_VM_SINGLETON_OBJ(Object::dynamic_type().raw(), kDynamicType); |
+ WRITE_VM_SINGLETON_OBJ(Object::void_type().raw(), kVoidType); |
WRITE_VM_SINGLETON_OBJ(Bool::True().raw(), kTrueValue); |
WRITE_VM_SINGLETON_OBJ(Bool::False().raw(), kFalseValue); |
WRITE_VM_SINGLETON_OBJ(Object::extractor_parameter_types().raw(), |