Index: src/compiler/raw-machine-assembler.h |
diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h |
index 5ce228a3972eea9c2faf6ecfd4015148798f87b9..c366c6c3c1dcb4844cdbe827c238b24213ae66b3 100644 |
--- a/src/compiler/raw-machine-assembler.h |
+++ b/src/compiler/raw-machine-assembler.h |
@@ -179,6 +179,12 @@ class V8_EXPORT_PRIVATE RawMachineAssembler { |
return AddNode(machine()->AtomicExchange(rep), base, index, value); |
} |
+ Node* AtomicCompareExchange(MachineType rep, Node* base, Node* index, |
+ Node* old_value, Node* new_value) { |
+ return AddNode(machine()->AtomicCompareExchange(rep), base, index, |
+ old_value, new_value); |
+ } |
+ |
// Arithmetic Operations. |
Node* WordAnd(Node* a, Node* b) { |
return AddNode(machine()->WordAnd(), a, b); |