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 | 9 |
10 #include "src/assert-scope.h" | 10 #include "src/assert-scope.h" |
(...skipping 6602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6613 V(Math, imul, MathImul) \ | 6613 V(Math, imul, MathImul) \ |
6614 V(Math, clz32, MathClz32) \ | 6614 V(Math, clz32, MathClz32) \ |
6615 V(Math, fround, MathFround) | 6615 V(Math, fround, MathFround) |
6616 | 6616 |
6617 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ | 6617 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ |
6618 V(Atomics, load, AtomicsLoad) \ | 6618 V(Atomics, load, AtomicsLoad) \ |
6619 V(Atomics, store, AtomicsStore) | 6619 V(Atomics, store, AtomicsStore) |
6620 | 6620 |
6621 enum BuiltinFunctionId { | 6621 enum BuiltinFunctionId { |
6622 kArrayCode, | 6622 kArrayCode, |
| 6623 kGeneratorObjectNext, |
| 6624 kGeneratorObjectReturn, |
| 6625 kGeneratorObjectThrow, |
6623 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ | 6626 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ |
6624 k##name, | 6627 k##name, |
6625 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | 6628 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
6626 ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | 6629 ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
6627 #undef DECLARE_FUNCTION_ID | 6630 #undef DECLARE_FUNCTION_ID |
6628 // Fake id for a special case of Math.pow. Note, it continues the | 6631 // Fake id for a special case of Math.pow. Note, it continues the |
6629 // list of math functions. | 6632 // list of math functions. |
6630 kMathPowHalf | 6633 kMathPowHalf |
6631 }; | 6634 }; |
6632 | 6635 |
(...skipping 4249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10882 } | 10885 } |
10883 return value; | 10886 return value; |
10884 } | 10887 } |
10885 }; | 10888 }; |
10886 | 10889 |
10887 | 10890 |
10888 } // NOLINT, false-positive due to second-order macros. | 10891 } // NOLINT, false-positive due to second-order macros. |
10889 } // NOLINT, false-positive due to second-order macros. | 10892 } // NOLINT, false-positive due to second-order macros. |
10890 | 10893 |
10891 #endif // V8_OBJECTS_H_ | 10894 #endif // V8_OBJECTS_H_ |
OLD | NEW |