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 5659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5670 V(Math, cos, MathCos) \ | 5670 V(Math, cos, MathCos) \ |
5671 V(Math, tan, MathTan) \ | 5671 V(Math, tan, MathTan) \ |
5672 V(Math, asin, MathASin) \ | 5672 V(Math, asin, MathASin) \ |
5673 V(Math, acos, MathACos) \ | 5673 V(Math, acos, MathACos) \ |
5674 V(Math, atan, MathATan) \ | 5674 V(Math, atan, MathATan) \ |
5675 V(Math, exp, MathExp) \ | 5675 V(Math, exp, MathExp) \ |
5676 V(Math, sqrt, MathSqrt) \ | 5676 V(Math, sqrt, MathSqrt) \ |
5677 V(Math, pow, MathPow) \ | 5677 V(Math, pow, MathPow) \ |
5678 V(Math, random, MathRandom) \ | 5678 V(Math, random, MathRandom) \ |
5679 V(Math, max, MathMax) \ | 5679 V(Math, max, MathMax) \ |
5680 V(Math, min, MathMin) | 5680 V(Math, min, MathMin) \ |
| 5681 V(Math, imul, MathImul) |
5681 | 5682 |
5682 | 5683 |
5683 enum BuiltinFunctionId { | 5684 enum BuiltinFunctionId { |
5684 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ | 5685 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ |
5685 k##name, | 5686 k##name, |
5686 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | 5687 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
5687 #undef DECLARE_FUNCTION_ID | 5688 #undef DECLARE_FUNCTION_ID |
5688 // Fake id for a special case of Math.pow. Note, it continues the | 5689 // Fake id for a special case of Math.pow. Note, it continues the |
5689 // list of math functions. | 5690 // list of math functions. |
5690 kMathPowHalf, | 5691 kMathPowHalf, |
(...skipping 3761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9452 } else { | 9453 } else { |
9453 value &= ~(1 << bit_position); | 9454 value &= ~(1 << bit_position); |
9454 } | 9455 } |
9455 return value; | 9456 return value; |
9456 } | 9457 } |
9457 }; | 9458 }; |
9458 | 9459 |
9459 } } // namespace v8::internal | 9460 } } // namespace v8::internal |
9460 | 9461 |
9461 #endif // V8_OBJECTS_H_ | 9462 #endif // V8_OBJECTS_H_ |
OLD | NEW |