Index: vm/snapshot.cc |
=================================================================== |
--- vm/snapshot.cc (revision 16415) |
+++ vm/snapshot.cc (working copy) |
@@ -656,10 +656,10 @@ |
return Object::null(); |
} |
if (object_id == kSentinelObject) { |
- return Object::sentinel(); |
+ return Object::sentinel().raw(); |
} |
if (object_id == kEmptyArrayObject) { |
- return Object::empty_array(); |
+ return Object::empty_array().raw(); |
} |
intptr_t class_id = ClassIdFromObjectId(object_id); |
if (IsSingletonClassId(class_id)) { |
@@ -801,13 +801,13 @@ |
} |
// Check if it is a singleton sentinel object. |
- if (rawobj == Object::sentinel()) { |
+ if (rawobj == Object::sentinel().raw()) { |
WriteVMIsolateObject(kSentinelObject); |
return; |
} |
// Check if it is a singleton empty array object. |
- if (rawobj == Object::empty_array()) { |
+ if (rawobj == Object::empty_array().raw()) { |
WriteVMIsolateObject(kEmptyArrayObject); |
return; |
} |