Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index d06e3184f817f2849d6e53395e3bff72aa061621..5e26333f7ae881b5dc1c537f1cc78cdb6ccd2a28 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -5411,7 +5411,7 @@ class HLoadKeyed |
IsFastDoubleElementsKind(elements_kind)); |
if (IsFastSmiOrObjectElementsKind(elements_kind)) { |
- if (elements_kind == FAST_SMI_ELEMENTS) { |
+ if (IsFastSmiElementsKind(elements_kind)) { |
set_type(HType::Smi()); |
} |