Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index ae96b9106f390d72ed11e34ae2ab027c00d6f244..ac8e0d62877b2857cb122afe76b08e60695b07b6 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -1440,6 +1440,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); |