Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index fdbcff02064be23b6e4869694aa361f592f14fd8..28a56122b101d3c49aebbe45d99d17739879cb47 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -6981,10 +6981,12 @@ class HStoreKeyed V8_FINAL |
return Representation::Double(); |
} |
+ if (kind == FAST_SMI_ELEMENTS && SmiValuesAre32Bits() && |
+ mode == STORE_TO_INITIALIZED_ENTRY) { |
+ return Representation::Integer32(); |
+ } |
+ |
if (IsFastSmiElementsKind(kind)) { |
- if (SmiValuesAre32Bits() && mode == STORE_TO_INITIALIZED_ENTRY) { |
- return Representation::Integer32(); |
- } |
return Representation::Smi(); |
} |