OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/assert-scope.h" | 9 #include "src/assert-scope.h" |
10 #include "src/builtins.h" | 10 #include "src/builtins.h" |
(...skipping 6985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6996 V(Math, round, MathRound) \ | 6996 V(Math, round, MathRound) \ |
6997 V(Math, ceil, MathCeil) \ | 6997 V(Math, ceil, MathCeil) \ |
6998 V(Math, abs, MathAbs) \ | 6998 V(Math, abs, MathAbs) \ |
6999 V(Math, log, MathLog) \ | 6999 V(Math, log, MathLog) \ |
7000 V(Math, exp, MathExp) \ | 7000 V(Math, exp, MathExp) \ |
7001 V(Math, sqrt, MathSqrt) \ | 7001 V(Math, sqrt, MathSqrt) \ |
7002 V(Math, pow, MathPow) \ | 7002 V(Math, pow, MathPow) \ |
7003 V(Math, max, MathMax) \ | 7003 V(Math, max, MathMax) \ |
7004 V(Math, min, MathMin) \ | 7004 V(Math, min, MathMin) \ |
7005 V(Math, imul, MathImul) \ | 7005 V(Math, imul, MathImul) \ |
7006 V(Math, clz32, MathClz32) | 7006 V(Math, clz32, MathClz32) \ |
| 7007 V(Math, fround, MathFround) |
7007 | 7008 |
7008 enum BuiltinFunctionId { | 7009 enum BuiltinFunctionId { |
7009 kArrayCode, | 7010 kArrayCode, |
7010 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ | 7011 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ |
7011 k##name, | 7012 k##name, |
7012 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | 7013 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
7013 #undef DECLARE_FUNCTION_ID | 7014 #undef DECLARE_FUNCTION_ID |
7014 // Fake id for a special case of Math.pow. Note, it continues the | 7015 // Fake id for a special case of Math.pow. Note, it continues the |
7015 // list of math functions. | 7016 // list of math functions. |
7016 kMathPowHalf | 7017 kMathPowHalf |
(...skipping 4192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11209 } else { | 11210 } else { |
11210 value &= ~(1 << bit_position); | 11211 value &= ~(1 << bit_position); |
11211 } | 11212 } |
11212 return value; | 11213 return value; |
11213 } | 11214 } |
11214 }; | 11215 }; |
11215 | 11216 |
11216 } } // namespace v8::internal | 11217 } } // namespace v8::internal |
11217 | 11218 |
11218 #endif // V8_OBJECTS_H_ | 11219 #endif // V8_OBJECTS_H_ |
OLD | NEW |