Index: src/compiler/memory-optimizer.cc |
diff --git a/src/compiler/memory-optimizer.cc b/src/compiler/memory-optimizer.cc |
index 06277fb726fb6c08f167a8440f6f593a19b6f3c9..3381b46958af3dc0d4758b82c5eacaa5b0f6b7e9 100644 |
--- a/src/compiler/memory-optimizer.cc |
+++ b/src/compiler/memory-optimizer.cc |
@@ -282,8 +282,9 @@ void MemoryOptimizer::VisitAllocate(Node* node, AllocationState const* state) { |
control = graph()->NewNode(common()->Merge(2), if_true, if_false); |
effect = graph()->NewNode(common()->EffectPhi(2), etrue, efalse, control); |
- value = graph()->NewNode(common()->Phi(MachineRepresentation::kTagged, 2), |
- vtrue, vfalse, control); |
+ value = graph()->NewNode( |
+ common()->Phi(MachineRepresentation::kTaggedPointer, 2), vtrue, vfalse, |
+ control); |
// Create an unfoldable allocation group. |
AllocationGroup* group = |