Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index 267d34fe43a36f8c61f2ed26c9e47612bcc870c8..dd505bfd3926e632e5cf196ef8ca5b775dcc6bb7 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -1454,6 +1454,11 @@ void InstructionSelector::VisitNode(Node* node) { |
MarkAsRepresentation(type.representation(), node); |
return VisitAtomicExchange(node); |
} |
+ case IrOpcode::kAtomicCompareExchange: { |
+ MachineType type = AtomicCompareExchangeRepresentationOf(node->op()); |
+ MarkAsRepresentation(type.representation(), node); |
+ return VisitAtomicCompareExchange(node); |
+ } |
case IrOpcode::kProtectedLoad: { |
LoadRepresentation type = LoadRepresentationOf(node->op()); |
MarkAsRepresentation(type.representation(), node); |