Index: src/compiler/effect-control-linearizer.cc |
diff --git a/src/compiler/effect-control-linearizer.cc b/src/compiler/effect-control-linearizer.cc |
index f0ddcaaf74b47cbb6c46996a28a8deae997959f7..763aaea84199243a391e2f3e47f4f67a35115e52 100644 |
--- a/src/compiler/effect-control-linearizer.cc |
+++ b/src/compiler/effect-control-linearizer.cc |
@@ -839,9 +839,9 @@ EffectControlLinearizer::ValueEffectControl |
EffectControlLinearizer::AllocateHeapNumberWithValue(Node* value, Node* effect, |
Node* control) { |
effect = graph()->NewNode(common()->BeginRegion(), effect); |
- Node* result = effect = |
- graph()->NewNode(simplified()->Allocate(NOT_TENURED), |
- jsgraph()->Constant(HeapNumber::kSize), effect, control); |
+ Node* result = effect = graph()->NewNode( |
+ simplified()->Allocate(NOT_TENURED), |
+ jsgraph()->Int32Constant(HeapNumber::kSize), effect, control); |
effect = graph()->NewNode(simplified()->StoreField(AccessBuilder::ForMap()), |
result, jsgraph()->HeapNumberMapConstant(), effect, |
control); |