Index: src/compiler/code-assembler.h |
diff --git a/src/compiler/code-assembler.h b/src/compiler/code-assembler.h |
index 4dda7f5b8f6d39a6f9e09cb08c0290c0cb4b1a61..034cdf419503e6e5d1b00562065eff59be5abf8c 100644 |
--- a/src/compiler/code-assembler.h |
+++ b/src/compiler/code-assembler.h |
@@ -277,6 +277,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); |