| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 4773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4784 V(Math, abs, MathAbs) \ | 4784 V(Math, abs, MathAbs) \ |
| 4785 V(Math, log, MathLog) \ | 4785 V(Math, log, MathLog) \ |
| 4786 V(Math, sin, MathSin) \ | 4786 V(Math, sin, MathSin) \ |
| 4787 V(Math, cos, MathCos) \ | 4787 V(Math, cos, MathCos) \ |
| 4788 V(Math, tan, MathTan) \ | 4788 V(Math, tan, MathTan) \ |
| 4789 V(Math, asin, MathASin) \ | 4789 V(Math, asin, MathASin) \ |
| 4790 V(Math, acos, MathACos) \ | 4790 V(Math, acos, MathACos) \ |
| 4791 V(Math, atan, MathATan) \ | 4791 V(Math, atan, MathATan) \ |
| 4792 V(Math, exp, MathExp) \ | 4792 V(Math, exp, MathExp) \ |
| 4793 V(Math, sqrt, MathSqrt) \ | 4793 V(Math, sqrt, MathSqrt) \ |
| 4794 V(Math, pow, MathPow) | 4794 V(Math, pow, MathPow) \ |
| 4795 V(Math, max, MathMax) \ |
| 4796 V(Math, min, MathMin) |
| 4795 | 4797 |
| 4796 | 4798 |
| 4797 enum BuiltinFunctionId { | 4799 enum BuiltinFunctionId { |
| 4798 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ | 4800 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ |
| 4799 k##name, | 4801 k##name, |
| 4800 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | 4802 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
| 4801 #undef DECLARE_FUNCTION_ID | 4803 #undef DECLARE_FUNCTION_ID |
| 4802 // Fake id for a special case of Math.pow. Note, it continues the | 4804 // Fake id for a special case of Math.pow. Note, it continues the |
| 4803 // list of math functions. | 4805 // list of math functions. |
| 4804 kMathPowHalf, | 4806 kMathPowHalf, |
| (...skipping 3210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8015 } else { | 8017 } else { |
| 8016 value &= ~(1 << bit_position); | 8018 value &= ~(1 << bit_position); |
| 8017 } | 8019 } |
| 8018 return value; | 8020 return value; |
| 8019 } | 8021 } |
| 8020 }; | 8022 }; |
| 8021 | 8023 |
| 8022 } } // namespace v8::internal | 8024 } } // namespace v8::internal |
| 8023 | 8025 |
| 8024 #endif // V8_OBJECTS_H_ | 8026 #endif // V8_OBJECTS_H_ |
| OLD | NEW |