Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: src/compiler/code-assembler.h

Issue 2799863002: [Atomics] use TFJ builtins for atomic add, sub, and, or, and xor (Closed)
Patch Set: [Atomics] use TFJ builtins for atomic add, sub, and, or, and xor Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/compiler/code-assembler.h
diff --git a/src/compiler/code-assembler.h b/src/compiler/code-assembler.h
index 81d8c904633d74dc444c1e2961f304791e6493bc..182f4216b06ad62f6775c04ef0250e93c26ffc8f 100644
--- a/src/compiler/code-assembler.h
+++ b/src/compiler/code-assembler.h
@@ -293,6 +293,16 @@ class V8_EXPORT_PRIVATE CodeAssembler {
Node* AtomicCompareExchange(MachineType type, Node* base, Node* offset,
Node* old_value, Node* new_value);
+ Node* AtomicAdd(MachineType type, Node* base, Node* offset, Node* value);
+
+ Node* AtomicSub(MachineType type, Node* base, Node* offset, Node* value);
+
+ Node* AtomicAnd(MachineType type, Node* base, Node* offset, Node* value);
+
+ Node* AtomicOr(MachineType type, Node* base, Node* offset, Node* value);
+
+ Node* AtomicXor(MachineType type, Node* base, Node* offset, Node* value);
+
// Store a value to the root array.
Node* StoreRoot(Heap::RootListIndex root_index, Node* value);

Powered by Google App Engine
This is Rietveld 408576698