Index: src/hydrogen-escape-analysis.cc |
diff --git a/src/hydrogen-escape-analysis.cc b/src/hydrogen-escape-analysis.cc |
index 6a03c5773a42b5b251dc8b1009623b638f029224..607e563c61736bd567824153abca42efb94aef37 100644 |
--- a/src/hydrogen-escape-analysis.cc |
+++ b/src/hydrogen-escape-analysis.cc |
@@ -167,7 +167,7 @@ HValue* HEscapeAnalysisPhase::NewLoadReplacement( |
HLoadNamedField* load, HValue* load_value) { |
HValue* replacement = load_value; |
Representation representation = load->representation(); |
- if (representation.IsSmi()) { |
+ if (representation.IsSmiOrInteger32() || representation.IsDouble()) { |
Zone* zone = graph()->zone(); |
HInstruction* new_instr = |
HForceRepresentation::New(zone, NULL, load_value, representation); |