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

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

Issue 2623633003: [Atomics] Make Atomics.exchange a builtin using TF (Closed)
Patch Set: remove 0 extend for arm Created 3 years, 10 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 8808a82f8e8950c71f1e74f33685b9b58cabddc3..0d2aa72835d851893e0e53517cd47b4066a5c928 100644
--- a/src/compiler/code-assembler.h
+++ b/src/compiler/code-assembler.h
@@ -272,6 +272,9 @@ class V8_EXPORT_PRIVATE CodeAssembler {
Node* AtomicStore(MachineRepresentation rep, Node* base, Node* offset,
Node* value);
+ // Exchange value at raw memory location
+ Node* AtomicExchange(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