| 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 4328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4339 // on the object (the one the id is set for), and a label. | 4339 // on the object (the one the id is set for), and a label. |
| 4340 // | 4340 // |
| 4341 // Installation of ids for the selected builtin functions is handled | 4341 // Installation of ids for the selected builtin functions is handled |
| 4342 // by the bootstrapper. | 4342 // by the bootstrapper. |
| 4343 // | 4343 // |
| 4344 // NOTE: Order is important: math functions should be at the end of | 4344 // NOTE: Order is important: math functions should be at the end of |
| 4345 // the list and MathFloor should be the first math function. | 4345 // the list and MathFloor should be the first math function. |
| 4346 #define FUNCTIONS_WITH_ID_LIST(V) \ | 4346 #define FUNCTIONS_WITH_ID_LIST(V) \ |
| 4347 V(Array.prototype, push, ArrayPush) \ | 4347 V(Array.prototype, push, ArrayPush) \ |
| 4348 V(Array.prototype, pop, ArrayPop) \ | 4348 V(Array.prototype, pop, ArrayPop) \ |
| 4349 V(Function.prototype, apply, FunctionApply) \ |
| 4349 V(String.prototype, charCodeAt, StringCharCodeAt) \ | 4350 V(String.prototype, charCodeAt, StringCharCodeAt) \ |
| 4350 V(String.prototype, charAt, StringCharAt) \ | 4351 V(String.prototype, charAt, StringCharAt) \ |
| 4351 V(String, fromCharCode, StringFromCharCode) \ | 4352 V(String, fromCharCode, StringFromCharCode) \ |
| 4352 V(Math, floor, MathFloor) \ | 4353 V(Math, floor, MathFloor) \ |
| 4353 V(Math, round, MathRound) \ | 4354 V(Math, round, MathRound) \ |
| 4354 V(Math, ceil, MathCeil) \ | 4355 V(Math, ceil, MathCeil) \ |
| 4355 V(Math, abs, MathAbs) \ | 4356 V(Math, abs, MathAbs) \ |
| 4356 V(Math, log, MathLog) \ | 4357 V(Math, log, MathLog) \ |
| 4357 V(Math, sin, MathSin) \ | 4358 V(Math, sin, MathSin) \ |
| 4358 V(Math, cos, MathCos) \ | 4359 V(Math, cos, MathCos) \ |
| (...skipping 2827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7186 } else { | 7187 } else { |
| 7187 value &= ~(1 << bit_position); | 7188 value &= ~(1 << bit_position); |
| 7188 } | 7189 } |
| 7189 return value; | 7190 return value; |
| 7190 } | 7191 } |
| 7191 }; | 7192 }; |
| 7192 | 7193 |
| 7193 } } // namespace v8::internal | 7194 } } // namespace v8::internal |
| 7194 | 7195 |
| 7195 #endif // V8_OBJECTS_H_ | 7196 #endif // V8_OBJECTS_H_ |
| OLD | NEW |