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 5842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5853 V(Math, acos, MathACos) \ | 5853 V(Math, acos, MathACos) \ |
5854 V(Math, atan, MathATan) \ | 5854 V(Math, atan, MathATan) \ |
5855 V(Math, exp, MathExp) \ | 5855 V(Math, exp, MathExp) \ |
5856 V(Math, sqrt, MathSqrt) \ | 5856 V(Math, sqrt, MathSqrt) \ |
5857 V(Math, pow, MathPow) \ | 5857 V(Math, pow, MathPow) \ |
5858 V(Math, random, MathRandom) \ | 5858 V(Math, random, MathRandom) \ |
5859 V(Math, max, MathMax) \ | 5859 V(Math, max, MathMax) \ |
5860 V(Math, min, MathMin) \ | 5860 V(Math, min, MathMin) \ |
5861 V(Math, imul, MathImul) | 5861 V(Math, imul, MathImul) |
5862 | 5862 |
5863 | |
5864 enum BuiltinFunctionId { | 5863 enum BuiltinFunctionId { |
| 5864 kArrayCode, |
5865 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ | 5865 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ |
5866 k##name, | 5866 k##name, |
5867 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | 5867 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
5868 #undef DECLARE_FUNCTION_ID | 5868 #undef DECLARE_FUNCTION_ID |
5869 // Fake id for a special case of Math.pow. Note, it continues the | 5869 // Fake id for a special case of Math.pow. Note, it continues the |
5870 // list of math functions. | 5870 // list of math functions. |
5871 kMathPowHalf, | 5871 kMathPowHalf, |
5872 kFirstMathFunctionId = kMathFloor | 5872 kFirstMathFunctionId = kMathFloor |
5873 }; | 5873 }; |
5874 | 5874 |
(...skipping 3825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9700 } else { | 9700 } else { |
9701 value &= ~(1 << bit_position); | 9701 value &= ~(1 << bit_position); |
9702 } | 9702 } |
9703 return value; | 9703 return value; |
9704 } | 9704 } |
9705 }; | 9705 }; |
9706 | 9706 |
9707 } } // namespace v8::internal | 9707 } } // namespace v8::internal |
9708 | 9708 |
9709 #endif // V8_OBJECTS_H_ | 9709 #endif // V8_OBJECTS_H_ |
OLD | NEW |