Index: src/objects-inl.h |
=================================================================== |
--- src/objects-inl.h (revision 10795) |
+++ src/objects-inl.h (working copy) |
@@ -3331,7 +3331,7 @@ |
DescriptorArray* Map::instance_descriptors() { |
Object* object = READ_FIELD(this, kInstanceDescriptorsOrBitField3Offset); |
if (object->IsSmi()) { |
- return HEAP->empty_descriptor_array(); |
+ return GetHeap()->empty_descriptor_array(); |
} else { |
return DescriptorArray::cast(object); |
} |
@@ -3645,7 +3645,7 @@ |
bool SharedFunctionInfo::IsInobjectSlackTrackingInProgress() { |
- return initial_map() != HEAP->undefined_value(); |
+ return initial_map() != GetHeap()->undefined_value(); |
} |