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