Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index 5e48c51652ff5f0da6f340b7f74863f36a1e1756..7461295fd9bced6f31f6ea8f0d1b882cd2b82cc2 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -1460,6 +1460,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); |