Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 62c98153894c9103b51754b82d67a9a6775067ec..fea05e8961a37038024b1e5b70e25fc64f915839 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -5218,6 +5218,10 @@ class HLoadNamedField: public HTemplateInstruction<2> { |
set_representation(Representation::Tagged()); |
} else if (FLAG_track_double_fields && field_representation.IsDouble()) { |
set_representation(field_representation); |
+ } else if (FLAG_track_heap_object_fields && |
+ field_representation.IsHeapObject()) { |
+ set_type(HType::NonPrimitive()); |
+ set_representation(Representation::Tagged()); |
} else { |
set_representation(Representation::Tagged()); |
} |