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 6719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6730 V(Math, tan, MathTan) \ | 6730 V(Math, tan, MathTan) \ |
6731 V(Math, tanh, MathTanh) \ | 6731 V(Math, tanh, MathTanh) \ |
6732 V(Math, acos, MathAcos) \ | 6732 V(Math, acos, MathAcos) \ |
6733 V(Math, asin, MathAsin) \ | 6733 V(Math, asin, MathAsin) \ |
6734 V(Math, atan, MathAtan) \ | 6734 V(Math, atan, MathAtan) \ |
6735 V(Math, atan2, MathAtan2) \ | 6735 V(Math, atan2, MathAtan2) \ |
6736 V(Math, atanh, MathAtanh) \ | 6736 V(Math, atanh, MathAtanh) \ |
6737 V(Math, imul, MathImul) \ | 6737 V(Math, imul, MathImul) \ |
6738 V(Math, clz32, MathClz32) \ | 6738 V(Math, clz32, MathClz32) \ |
6739 V(Math, fround, MathFround) \ | 6739 V(Math, fround, MathFround) \ |
6740 V(Math, trunc, MathTrunc) | 6740 V(Math, trunc, MathTrunc) \ |
6741 V(Math, hypot, MathHypot) | |
Benedikt Meurer
2016/07/01 03:41:20
You don't need to add it here. This is only used t
| |
6741 | 6742 |
6742 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ | 6743 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ |
6743 V(Atomics, load, AtomicsLoad) \ | 6744 V(Atomics, load, AtomicsLoad) \ |
6744 V(Atomics, store, AtomicsStore) | 6745 V(Atomics, store, AtomicsStore) |
6745 | 6746 |
6746 enum BuiltinFunctionId { | 6747 enum BuiltinFunctionId { |
6747 kArrayCode, | 6748 kArrayCode, |
6748 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ | 6749 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ |
6749 k##name, | 6750 k##name, |
6750 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | 6751 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
(...skipping 4174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
10925 } | 10926 } |
10926 return value; | 10927 return value; |
10927 } | 10928 } |
10928 }; | 10929 }; |
10929 | 10930 |
10930 | 10931 |
10931 } // NOLINT, false-positive due to second-order macros. | 10932 } // NOLINT, false-positive due to second-order macros. |
10932 } // NOLINT, false-positive due to second-order macros. | 10933 } // NOLINT, false-positive due to second-order macros. |
10933 | 10934 |
10934 #endif // V8_OBJECTS_H_ | 10935 #endif // V8_OBJECTS_H_ |
OLD | NEW |