Index: src/profile-generator.cc |
diff --git a/src/profile-generator.cc b/src/profile-generator.cc |
index b853f33cb19aa2a15405cbdca4f76fdf3d25382b..9839edf7e24fb56b713e02d8c85f3889a7a920b2 100644 |
--- a/src/profile-generator.cc |
+++ b/src/profile-generator.cc |
@@ -2443,19 +2443,17 @@ bool V8HeapExplorer::IterateAndExtractReferences( |
bool V8HeapExplorer::IsEssentialObject(Object* object) { |
- // We have to use raw_unchecked_* versions because checked versions |
- // would fail during iteration over object properties. |
return object->IsHeapObject() |
&& !object->IsOddball() |
- && object != heap_->raw_unchecked_empty_byte_array() |
- && object != heap_->raw_unchecked_empty_fixed_array() |
- && object != heap_->raw_unchecked_empty_descriptor_array() |
- && object != heap_->raw_unchecked_fixed_array_map() |
- && object != heap_->raw_unchecked_global_property_cell_map() |
- && object != heap_->raw_unchecked_shared_function_info_map() |
- && object != heap_->raw_unchecked_free_space_map() |
- && object != heap_->raw_unchecked_one_pointer_filler_map() |
- && object != heap_->raw_unchecked_two_pointer_filler_map(); |
+ && object != heap_->empty_byte_array() |
+ && object != heap_->empty_fixed_array() |
+ && object != heap_->empty_descriptor_array() |
+ && object != heap_->fixed_array_map() |
+ && object != heap_->global_property_cell_map() |
+ && object != heap_->shared_function_info_map() |
+ && object != heap_->free_space_map() |
+ && object != heap_->one_pointer_filler_map() |
+ && object != heap_->two_pointer_filler_map(); |
} |