Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index f8b9d2f723415ff380aca10071f6086041ec6e8c..71058d83fb577f283afccfb1a3a320389851a609 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -6334,11 +6334,16 @@ class Script: public Struct { |
| V(WeakSet.prototype, delete, WeakSetDelete) \ |
| V(WeakSet.prototype, has, WeakSetHas) |
| -#define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ |
| - V(Atomics, load, AtomicsLoad) \ |
| - V(Atomics, store, AtomicsStore) \ |
| - V(Atomics, exchange, AtomicsExchange) \ |
| - V(Atomics, compareExchange, AtomicsCompareExchange) |
| +#define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ |
| + V(Atomics, load, AtomicsLoad) \ |
| + V(Atomics, store, AtomicsStore) \ |
| + V(Atomics, exchange, AtomicsExchange) \ |
| + V(Atomics, compareExchange, AtomicsCompareExchange) \ |
| + V(Add, add, AtomicsAdd) \ |
|
binji
2017/04/06 19:04:50
Why is this not V(Atomics, add, AtomicsAdd)?
aseemgarg
2017/04/06 21:03:56
Done.
|
| + V(Sub, sub, AtomicsSub) \ |
| + V(And, and, AtomicsAnd) \ |
| + V(Or, or, AtomicsOr) \ |
| + V(Xor, xor, AtomicsXor) |
| enum BuiltinFunctionId { |
| kArrayCode, |