Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index e095bc20b38a3de322d68367bf393186c5432a84..2abc3e9e3635eafc41080be87bbdea9cc541dde6 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -1449,6 +1449,11 @@ void InstructionSelector::VisitNode(Node* node) { |
} |
case IrOpcode::kAtomicStore: |
return VisitAtomicStore(node); |
+ case IrOpcode::kAtomicExchange: { |
+ MachineType type = AtomicExchangeRepresentationOf(node->op()); |
+ MarkAsRepresentation(type.representation(), node); |
+ return VisitAtomicExchange(node); |
+ } |
case IrOpcode::kProtectedLoad: { |
LoadRepresentation type = LoadRepresentationOf(node->op()); |
MarkAsRepresentation(type.representation(), node); |