Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index 11839ba0e211eb2fa542deec933ca5c8a4c405a4..7cf185b921a9e67d77bfe0c971c3150d339635d1 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); |