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

Unified Diff: src/objects.h

Issue 2649703002: [Atomics] Make Atomics.compareExchange a builtin using TF (Closed)
Patch Set: dmb 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/objects.h
diff --git a/src/objects.h b/src/objects.h
index 945cde9cfb5a0c9f84832f3c78281175b9681f86..ce0ad9f31df5a444b43ab175c3f644ff6b5fc18a 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -6889,7 +6889,8 @@ class Script: public Struct {
#define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \
V(Atomics, load, AtomicsLoad) \
V(Atomics, store, AtomicsStore) \
- V(Atomics, exchange, AtomicsExchange)
+ V(Atomics, exchange, AtomicsExchange) \
+ V(Atomics, compareExchange, AtomicsCompareExchange)
enum BuiltinFunctionId {
kArrayCode,
« src/compiler/arm/code-generator-arm.cc ('K') | « src/compiler/x64/instruction-selector-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698