| 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 6868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6879 V(WeakMap.prototype, delete, WeakMapDelete) \ | 6879 V(WeakMap.prototype, delete, WeakMapDelete) \ |
| 6880 V(WeakMap.prototype, has, WeakMapHas) \ | 6880 V(WeakMap.prototype, has, WeakMapHas) \ |
| 6881 V(WeakMap.prototype, set, WeakMapSet) \ | 6881 V(WeakMap.prototype, set, WeakMapSet) \ |
| 6882 V(WeakSet.prototype, add, WeakSetAdd) \ | 6882 V(WeakSet.prototype, add, WeakSetAdd) \ |
| 6883 V(WeakSet.prototype, delete, WeakSetDelete) \ | 6883 V(WeakSet.prototype, delete, WeakSetDelete) \ |
| 6884 V(WeakSet.prototype, has, WeakSetHas) | 6884 V(WeakSet.prototype, has, WeakSetHas) |
| 6885 | 6885 |
| 6886 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ | 6886 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ |
| 6887 V(Atomics, load, AtomicsLoad) \ | 6887 V(Atomics, load, AtomicsLoad) \ |
| 6888 V(Atomics, store, AtomicsStore) \ | 6888 V(Atomics, store, AtomicsStore) \ |
| 6889 V(Atomics, exchange, AtomicsExchange) | 6889 V(Atomics, exchange, AtomicsExchange) \ |
| 6890 V(Atomics, compareExchange, AtomicsCompareExchange) |
| 6890 | 6891 |
| 6891 enum BuiltinFunctionId { | 6892 enum BuiltinFunctionId { |
| 6892 kArrayCode, | 6893 kArrayCode, |
| 6893 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ | 6894 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ |
| 6894 k##name, | 6895 k##name, |
| 6895 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | 6896 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
| 6896 ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | 6897 ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
| 6897 #undef DECLARE_FUNCTION_ID | 6898 #undef DECLARE_FUNCTION_ID |
| 6898 // Fake id for a special case of Math.pow. Note, it continues the | 6899 // Fake id for a special case of Math.pow. Note, it continues the |
| 6899 // list of math functions. | 6900 // list of math functions. |
| (...skipping 4672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11572 } | 11573 } |
| 11573 }; | 11574 }; |
| 11574 | 11575 |
| 11575 | 11576 |
| 11576 } // NOLINT, false-positive due to second-order macros. | 11577 } // NOLINT, false-positive due to second-order macros. |
| 11577 } // NOLINT, false-positive due to second-order macros. | 11578 } // NOLINT, false-positive due to second-order macros. |
| 11578 | 11579 |
| 11579 #include "src/objects/object-macros-undef.h" | 11580 #include "src/objects/object-macros-undef.h" |
| 11580 | 11581 |
| 11581 #endif // V8_OBJECTS_H_ | 11582 #endif // V8_OBJECTS_H_ |
| OLD | NEW |