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 4876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, random, MathRandom) | 4897 V(Math, random, MathRandom) \ |
| 4898 V(Math, max, MathMax) \ |
| 4899 V(Math, min, MathMin) |
4898 | 4900 |
4899 | 4901 |
4900 enum BuiltinFunctionId { | 4902 enum BuiltinFunctionId { |
4901 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ | 4903 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ |
4902 k##name, | 4904 k##name, |
4903 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | 4905 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
4904 #undef DECLARE_FUNCTION_ID | 4906 #undef DECLARE_FUNCTION_ID |
4905 // Fake id for a special case of Math.pow. Note, it continues the | 4907 // Fake id for a special case of Math.pow. Note, it continues the |
4906 // list of math functions. | 4908 // list of math functions. |
4907 kMathPowHalf, | 4909 kMathPowHalf, |
(...skipping 3244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8152 } else { | 8154 } else { |
8153 value &= ~(1 << bit_position); | 8155 value &= ~(1 << bit_position); |
8154 } | 8156 } |
8155 return value; | 8157 return value; |
8156 } | 8158 } |
8157 }; | 8159 }; |
8158 | 8160 |
8159 } } // namespace v8::internal | 8161 } } // namespace v8::internal |
8160 | 8162 |
8161 #endif // V8_OBJECTS_H_ | 8163 #endif // V8_OBJECTS_H_ |
OLD | NEW |