Index: src/heap-snapshot-generator.cc |
diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc |
index 097d5a5fc57968df0cbb01930002257b1bf408ae..2ff33710d34dbab78f8f9e59a814aa9b7988611d 100644 |
--- a/src/heap-snapshot-generator.cc |
+++ b/src/heap-snapshot-generator.cc |
@@ -1641,6 +1641,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); |