OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 4875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4886 V(Math, abs, MathAbs) \ | 4886 V(Math, abs, MathAbs) \ |
4887 V(Math, log, MathLog) \ | 4887 V(Math, log, MathLog) \ |
4888 V(Math, sin, MathSin) \ | 4888 V(Math, sin, MathSin) \ |
4889 V(Math, cos, MathCos) \ | 4889 V(Math, cos, MathCos) \ |
4890 V(Math, tan, MathTan) \ | 4890 V(Math, tan, MathTan) \ |
4891 V(Math, asin, MathASin) \ | 4891 V(Math, asin, MathASin) \ |
4892 V(Math, acos, MathACos) \ | 4892 V(Math, acos, MathACos) \ |
4893 V(Math, atan, MathATan) \ | 4893 V(Math, atan, MathATan) \ |
4894 V(Math, exp, MathExp) \ | 4894 V(Math, exp, MathExp) \ |
4895 V(Math, sqrt, MathSqrt) \ | 4895 V(Math, sqrt, MathSqrt) \ |
4896 V(Math, pow, MathPow) | 4896 V(Math, pow, MathPow) \ |
| 4897 V(Math, max, MathMax) \ |
| 4898 V(Math, min, MathMin) |
4897 | 4899 |
4898 | 4900 |
4899 enum BuiltinFunctionId { | 4901 enum BuiltinFunctionId { |
4900 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ | 4902 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ |
4901 k##name, | 4903 k##name, |
4902 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | 4904 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
4903 #undef DECLARE_FUNCTION_ID | 4905 #undef DECLARE_FUNCTION_ID |
4904 // Fake id for a special case of Math.pow. Note, it continues the | 4906 // Fake id for a special case of Math.pow. Note, it continues the |
4905 // list of math functions. | 4907 // list of math functions. |
4906 kMathPowHalf, | 4908 kMathPowHalf, |
(...skipping 3244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8151 } else { | 8153 } else { |
8152 value &= ~(1 << bit_position); | 8154 value &= ~(1 << bit_position); |
8153 } | 8155 } |
8154 return value; | 8156 return value; |
8155 } | 8157 } |
8156 }; | 8158 }; |
8157 | 8159 |
8158 } } // namespace v8::internal | 8160 } } // namespace v8::internal |
8159 | 8161 |
8160 #endif // V8_OBJECTS_H_ | 8162 #endif // V8_OBJECTS_H_ |
OLD | NEW |