Index: src/compiler/code-assembler.h |
diff --git a/src/compiler/code-assembler.h b/src/compiler/code-assembler.h |
index 64bd3506e898bd1f495f9f00dc7665ec638a2c59..ebe140a0068e02cef432edfddb886940aa256b15 100644 |
--- a/src/compiler/code-assembler.h |
+++ b/src/compiler/code-assembler.h |
@@ -278,6 +278,10 @@ class V8_EXPORT_PRIVATE CodeAssembler { |
// Exchange value at raw memory location |
Node* AtomicExchange(MachineType type, Node* base, Node* offset, Node* value); |
+ // Compare and Exchange value at raw memory location |
+ Node* AtomicCompareExchange(MachineType type, Node* base, Node* offset, |
+ Node* old_value, Node* new_value); |
+ |
// Store a value to the root array. |
Node* StoreRoot(Heap::RootListIndex root_index, Node* value); |