Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index cfa4536851693d289ec924b22098cd6e144c0fc0..c18c474c345394ec576588b0eb16d6a1d26589c6 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -1180,6 +1180,11 @@ void InstructionSelector::VisitNode(Node* node) { |
MarkAsWord32(NodeProperties::FindProjection(node, 0)); |
MarkAsWord32(NodeProperties::FindProjection(node, 1)); |
return VisitWord32PairSar(node); |
+ case IrOpcode::kAtomicLoad: { |
+ LoadRepresentation type = LoadRepresentationOf(node->op()); |
+ MarkAsRepresentation(type.representation(), node); |
+ return VisitAtomicLoad(node); |
+ } |
default: |
V8_Fatal(__FILE__, __LINE__, "Unexpected operator #%d:%s @ node #%d", |
node->opcode(), node->op()->mnemonic(), node->id()); |