Index: src/profile-generator.cc |
diff --git a/src/profile-generator.cc b/src/profile-generator.cc |
index da2a969e7123ea132e550cee99a0df60b7a0f208..62cfd5e5106eabfd0c9f7fd2af6ea43802c906cf 100644 |
--- a/src/profile-generator.cc |
+++ b/src/profile-generator.cc |
@@ -2240,7 +2240,7 @@ void V8HeapExplorer::ExtractPropertyReferences(JSObject* js_obj, int entry) { |
void V8HeapExplorer::ExtractElementReferences(JSObject* js_obj, int entry) { |
- if (js_obj->HasFastElements()) { |
+ if (js_obj->HasFastObjectElements()) { |
FixedArray* elements = FixedArray::cast(js_obj->elements()); |
int length = js_obj->IsJSArray() ? |
Smi::cast(JSArray::cast(js_obj)->length())->value() : |