Index: src/heap-snapshot-generator.cc |
diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc |
index 10e177d4f0ecf8425a249d91b2b528af285d0089..109f9fbc36cae5706259af925072cc44c9b83141 100644 |
--- a/src/heap-snapshot-generator.cc |
+++ b/src/heap-snapshot-generator.cc |
@@ -1590,6 +1590,8 @@ void V8HeapExplorer::ExtractPropertyReferences(JSObject* js_obj, int entry) { |
for (int i = 0; i < real_size; i++) { |
switch (descs->GetType(i)) { |
case FIELD: { |
+ Representation r = descs->GetDetails(i).representation(); |
+ if (r.IsSmi() || r.IsDouble()) break; |
int index = descs->GetFieldIndex(i); |
Name* k = descs->GetKey(i); |