| 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 4014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4025 // on the object (the one the id is set for), and a label. | 4025 // on the object (the one the id is set for), and a label. |
| 4026 // | 4026 // |
| 4027 // Installation of ids for the selected builtin functions is handled | 4027 // Installation of ids for the selected builtin functions is handled |
| 4028 // by the bootstrapper. | 4028 // by the bootstrapper. |
| 4029 // | 4029 // |
| 4030 // NOTE: Order is important: math functions should be at the end of | 4030 // NOTE: Order is important: math functions should be at the end of |
| 4031 // the list and MathFloor should be the first math function. | 4031 // the list and MathFloor should be the first math function. |
| 4032 #define FUNCTIONS_WITH_ID_LIST(V) \ | 4032 #define FUNCTIONS_WITH_ID_LIST(V) \ |
| 4033 V(Array.prototype, push, ArrayPush) \ | 4033 V(Array.prototype, push, ArrayPush) \ |
| 4034 V(Array.prototype, pop, ArrayPop) \ | 4034 V(Array.prototype, pop, ArrayPop) \ |
| 4035 V(Function.prototype, apply, FunctionApply) \ |
| 4035 V(String.prototype, charCodeAt, StringCharCodeAt) \ | 4036 V(String.prototype, charCodeAt, StringCharCodeAt) \ |
| 4036 V(String.prototype, charAt, StringCharAt) \ | 4037 V(String.prototype, charAt, StringCharAt) \ |
| 4037 V(String, fromCharCode, StringFromCharCode) \ | 4038 V(String, fromCharCode, StringFromCharCode) \ |
| 4038 V(Math, floor, MathFloor) \ | 4039 V(Math, floor, MathFloor) \ |
| 4039 V(Math, round, MathRound) \ | 4040 V(Math, round, MathRound) \ |
| 4040 V(Math, ceil, MathCeil) \ | 4041 V(Math, ceil, MathCeil) \ |
| 4041 V(Math, abs, MathAbs) \ | 4042 V(Math, abs, MathAbs) \ |
| 4042 V(Math, log, MathLog) \ | 4043 V(Math, log, MathLog) \ |
| 4043 V(Math, sin, MathSin) \ | 4044 V(Math, sin, MathSin) \ |
| 4044 V(Math, cos, MathCos) \ | 4045 V(Math, cos, MathCos) \ |
| (...skipping 2633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6678 } else { | 6679 } else { |
| 6679 value &= ~(1 << bit_position); | 6680 value &= ~(1 << bit_position); |
| 6680 } | 6681 } |
| 6681 return value; | 6682 return value; |
| 6682 } | 6683 } |
| 6683 }; | 6684 }; |
| 6684 | 6685 |
| 6685 } } // namespace v8::internal | 6686 } } // namespace v8::internal |
| 6686 | 6687 |
| 6687 #endif // V8_OBJECTS_H_ | 6688 #endif // V8_OBJECTS_H_ |
| OLD | NEW |