Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index d06e3184f817f2849d6e53395e3bff72aa061621..a9dbca7bf57c7ba5323d8ddf9ad0599523acd503 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -5209,7 +5209,7 @@ class HLoadNamedField: public HTemplateInstruction<2> { |
if (FLAG_track_fields && field_representation.IsSmi()) { |
set_type(HType::Smi()); |
- set_representation(Representation::Tagged()); |
+ set_representation(field_representation); |
} else if (FLAG_track_double_fields && field_representation.IsDouble()) { |
set_representation(field_representation); |
} else if (FLAG_track_heap_object_fields && |
@@ -5603,7 +5603,7 @@ class HStoreNamedField: public HTemplateInstruction<2> { |
return field_representation_; |
} else if (FLAG_track_fields && |
index == 1 && field_representation_.IsSmi()) { |
- return Representation::Integer32(); |
+ return field_representation_; |
} |
return Representation::Tagged(); |
} |