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

Unified Diff: src/objects.h

Issue 2623633003: [Atomics] Make Atomics.exchange a builtin using TF (Closed)
Patch Set: [Atomics] Make Atomics.exchange a builtin using TF Created 3 years, 11 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/objects.h
diff --git a/src/objects.h b/src/objects.h
index e7e79fbc7467a820485bfb0b4480c9585fcf75e8..bf3cf93f51b005e5ec245f294fa923928b8ad4c6 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -7098,7 +7098,8 @@ class Script: public Struct {
#define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \
V(Atomics, load, AtomicsLoad) \
- V(Atomics, store, AtomicsStore)
+ V(Atomics, store, AtomicsStore) \
+ V(Atomics, exchange, AtomicsExchange)
enum BuiltinFunctionId {
kArrayCode,

Powered by Google App Engine
This is Rietveld 408576698