Index: src/compiler/js-native-context-specialization.cc |
diff --git a/src/compiler/js-native-context-specialization.cc b/src/compiler/js-native-context-specialization.cc |
index 06cf770f332631333e3c1ec39b443d565caa376f..35e657f442cb08ddb3feb33493cf608c67ab8768 100644 |
--- a/src/compiler/js-native-context-specialization.cc |
+++ b/src/compiler/js-native-context-specialization.cc |
@@ -705,7 +705,7 @@ Reduction JSNativeContextSpecialization::ReduceElementAccess( |
Type* element_type = Type::Any(); |
MachineType element_machine_type = MachineType::AnyTagged(); |
if (IsFastDoubleElementsKind(elements_kind)) { |
- element_type = type_cache_.kFloat64; |
+ element_type = Type::Number(); |
element_machine_type = MachineType::Float64(); |
} else if (IsFastSmiElementsKind(elements_kind)) { |
element_type = type_cache_.kSmi; |