Index: src/compiler/change-lowering.cc |
diff --git a/src/compiler/change-lowering.cc b/src/compiler/change-lowering.cc |
index 1313e080ea607c9bef570d840af982e4347aed06..bf9d03c25ddc3f58a24d69480715fbd451d5a412 100644 |
--- a/src/compiler/change-lowering.cc |
+++ b/src/compiler/change-lowering.cc |
@@ -135,9 +135,10 @@ Reduction ChangeLowering::ReduceAllocate(Node* node) { |
machine()->Store(StoreRepresentation( |
MachineType::PointerRepresentation(), kNoWriteBarrier)), |
top_address, jsgraph()->IntPtrConstant(0), new_top, etrue, if_true); |
- vtrue = graph()->NewNode(machine()->BitcastWordToTagged(), |
- graph()->NewNode(machine()->IntAdd(), top, |
- jsgraph()->IntPtrConstant(1))); |
+ vtrue = graph()->NewNode( |
+ machine()->BitcastWordToTagged(), |
+ graph()->NewNode(machine()->IntAdd(), top, |
+ jsgraph()->IntPtrConstant(kHeapObjectTag))); |
} |
Node* if_false = graph()->NewNode(common()->IfFalse(), branch); |