Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index d7157f6bf04005be6feaf2396bdf25454fade664..74fd277410b639524c78c5f17a34bc7fca5cdcc3 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -1014,8 +1014,9 @@ class RepresentationSelector { |
case IrOpcode::kLoadStackPointer: |
return VisitLeaf(node, kMachPtr); |
case IrOpcode::kStateValues: |
+ // State values declare tagged use so that we do not conflate values. |
for (int i = 0; i < node->InputCount(); i++) { |
- ProcessInput(node, i, kTypeAny); |
+ Enqueue(node->InputAt(i), kMachAnyTagged); |
} |
SetOutput(node, kMachAnyTagged); |
break; |