| 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 4110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4121 // on the object (the one the id is set for), and a label. | 4121 // on the object (the one the id is set for), and a label. |
| 4122 // | 4122 // |
| 4123 // Installation of ids for the selected builtin functions is handled | 4123 // Installation of ids for the selected builtin functions is handled |
| 4124 // by the bootstrapper. | 4124 // by the bootstrapper. |
| 4125 // | 4125 // |
| 4126 // NOTE: Order is important: math functions should be at the end of | 4126 // NOTE: Order is important: math functions should be at the end of |
| 4127 // the list and MathFloor should be the first math function. | 4127 // the list and MathFloor should be the first math function. |
| 4128 #define FUNCTIONS_WITH_ID_LIST(V) \ | 4128 #define FUNCTIONS_WITH_ID_LIST(V) \ |
| 4129 V(Array.prototype, push, ArrayPush) \ | 4129 V(Array.prototype, push, ArrayPush) \ |
| 4130 V(Array.prototype, pop, ArrayPop) \ | 4130 V(Array.prototype, pop, ArrayPop) \ |
| 4131 V(Function.prototype, apply, FunctionApply) \ |
| 4131 V(String.prototype, charCodeAt, StringCharCodeAt) \ | 4132 V(String.prototype, charCodeAt, StringCharCodeAt) \ |
| 4132 V(String.prototype, charAt, StringCharAt) \ | 4133 V(String.prototype, charAt, StringCharAt) \ |
| 4133 V(String, fromCharCode, StringFromCharCode) \ | 4134 V(String, fromCharCode, StringFromCharCode) \ |
| 4134 V(Math, floor, MathFloor) \ | 4135 V(Math, floor, MathFloor) \ |
| 4135 V(Math, round, MathRound) \ | 4136 V(Math, round, MathRound) \ |
| 4136 V(Math, ceil, MathCeil) \ | 4137 V(Math, ceil, MathCeil) \ |
| 4137 V(Math, abs, MathAbs) \ | 4138 V(Math, abs, MathAbs) \ |
| 4138 V(Math, log, MathLog) \ | 4139 V(Math, log, MathLog) \ |
| 4139 V(Math, sin, MathSin) \ | 4140 V(Math, sin, MathSin) \ |
| 4140 V(Math, cos, MathCos) \ | 4141 V(Math, cos, MathCos) \ |
| (...skipping 2724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6865 } else { | 6866 } else { |
| 6866 value &= ~(1 << bit_position); | 6867 value &= ~(1 << bit_position); |
| 6867 } | 6868 } |
| 6868 return value; | 6869 return value; |
| 6869 } | 6870 } |
| 6870 }; | 6871 }; |
| 6871 | 6872 |
| 6872 } } // namespace v8::internal | 6873 } } // namespace v8::internal |
| 6873 | 6874 |
| 6874 #endif // V8_OBJECTS_H_ | 6875 #endif // V8_OBJECTS_H_ |
| OLD | NEW |