Index: src/compiler/code-assembler.cc |
diff --git a/src/compiler/code-assembler.cc b/src/compiler/code-assembler.cc |
index de79177be0e51fbd294216568eaefd2add5f3f57..a9b20c7eadeab2c1f4068be24b54202044028a90 100644 |
--- a/src/compiler/code-assembler.cc |
+++ b/src/compiler/code-assembler.cc |
@@ -477,6 +477,13 @@ Node* CodeAssembler::AtomicExchange(MachineType type, Node* base, Node* offset, |
return raw_assembler()->AtomicExchange(type, base, offset, value); |
} |
+Node* CodeAssembler::AtomicCompareExchange(MachineType type, Node* base, |
+ Node* offset, Node* old_value, |
+ Node* new_value) { |
+ return raw_assembler()->AtomicCompareExchange(type, base, offset, old_value, |
+ new_value); |
+} |
+ |
Node* CodeAssembler::StoreRoot(Heap::RootListIndex root_index, Node* value) { |
DCHECK(Heap::RootCanBeWrittenAfterInitialization(root_index)); |
Node* roots_array_start = |