Index: src/compiler/js-create-lowering.cc |
diff --git a/src/compiler/js-create-lowering.cc b/src/compiler/js-create-lowering.cc |
index f2c5edd630831aeb1c5e6dacd6baab9c29329f21..55bf21f83bbfcb21cd87ec26ab909e922d68c605 100644 |
--- a/src/compiler/js-create-lowering.cc |
+++ b/src/compiler/js-create-lowering.cc |
@@ -1013,10 +1013,9 @@ Node* JSCreateLowering::AllocateElements(Node* effect, Node* control, |
ElementAccess access = IsFastDoubleElementsKind(elements_kind) |
? AccessBuilder::ForFixedDoubleArrayElement() |
: AccessBuilder::ForFixedArrayElement(); |
- Node* value = |
- IsFastDoubleElementsKind(elements_kind) |
- ? jsgraph()->Float64Constant(bit_cast<double>(kHoleNanInt64)) |
- : jsgraph()->TheHoleConstant(); |
+ Node* value = IsFastDoubleElementsKind(elements_kind) |
+ ? jsgraph()->Float64Constant(kHoleNanDouble) |
+ : jsgraph()->TheHoleConstant(); |
// Actually allocate the backing store. |
AllocationBuilder a(jsgraph(), effect, control); |