OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 6871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6882 V(WeakMap.prototype, delete, WeakMapDelete) \ | 6882 V(WeakMap.prototype, delete, WeakMapDelete) \ |
6883 V(WeakMap.prototype, has, WeakMapHas) \ | 6883 V(WeakMap.prototype, has, WeakMapHas) \ |
6884 V(WeakMap.prototype, set, WeakMapSet) \ | 6884 V(WeakMap.prototype, set, WeakMapSet) \ |
6885 V(WeakSet.prototype, add, WeakSetAdd) \ | 6885 V(WeakSet.prototype, add, WeakSetAdd) \ |
6886 V(WeakSet.prototype, delete, WeakSetDelete) \ | 6886 V(WeakSet.prototype, delete, WeakSetDelete) \ |
6887 V(WeakSet.prototype, has, WeakSetHas) | 6887 V(WeakSet.prototype, has, WeakSetHas) |
6888 | 6888 |
6889 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ | 6889 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ |
6890 V(Atomics, load, AtomicsLoad) \ | 6890 V(Atomics, load, AtomicsLoad) \ |
6891 V(Atomics, store, AtomicsStore) \ | 6891 V(Atomics, store, AtomicsStore) \ |
6892 V(Atomics, exchange, AtomicsExchange) | 6892 V(Atomics, exchange, AtomicsExchange) \ |
| 6893 V(Atomics, compareExchange, AtomicsCompareExchange) |
6893 | 6894 |
6894 enum BuiltinFunctionId { | 6895 enum BuiltinFunctionId { |
6895 kArrayCode, | 6896 kArrayCode, |
6896 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ | 6897 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ |
6897 k##name, | 6898 k##name, |
6898 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | 6899 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
6899 ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | 6900 ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
6900 #undef DECLARE_FUNCTION_ID | 6901 #undef DECLARE_FUNCTION_ID |
6901 // Fake id for a special case of Math.pow. Note, it continues the | 6902 // Fake id for a special case of Math.pow. Note, it continues the |
6902 // list of math functions. | 6903 // list of math functions. |
(...skipping 4660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11563 } | 11564 } |
11564 }; | 11565 }; |
11565 | 11566 |
11566 | 11567 |
11567 } // NOLINT, false-positive due to second-order macros. | 11568 } // NOLINT, false-positive due to second-order macros. |
11568 } // NOLINT, false-positive due to second-order macros. | 11569 } // NOLINT, false-positive due to second-order macros. |
11569 | 11570 |
11570 #include "src/objects/object-macros-undef.h" | 11571 #include "src/objects/object-macros-undef.h" |
11571 | 11572 |
11572 #endif // V8_OBJECTS_H_ | 11573 #endif // V8_OBJECTS_H_ |
OLD | NEW |