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 "allocation.h" | 8 #include "allocation.h" |
9 #include "assert-scope.h" | 9 #include "assert-scope.h" |
10 #include "builtins.h" | 10 #include "builtins.h" |
(...skipping 6792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6803 // | 6803 // |
6804 // Each entry has a name of a global object property holding an object | 6804 // Each entry has a name of a global object property holding an object |
6805 // optionally followed by ".prototype", a name of a builtin function | 6805 // optionally followed by ".prototype", a name of a builtin function |
6806 // on the object (the one the id is set for), and a label. | 6806 // on the object (the one the id is set for), and a label. |
6807 // | 6807 // |
6808 // Installation of ids for the selected builtin functions is handled | 6808 // Installation of ids for the selected builtin functions is handled |
6809 // by the bootstrapper. | 6809 // by the bootstrapper. |
6810 #define FUNCTIONS_WITH_ID_LIST(V) \ | 6810 #define FUNCTIONS_WITH_ID_LIST(V) \ |
6811 V(Array.prototype, push, ArrayPush) \ | 6811 V(Array.prototype, push, ArrayPush) \ |
6812 V(Array.prototype, pop, ArrayPop) \ | 6812 V(Array.prototype, pop, ArrayPop) \ |
| 6813 V(Array.prototype, shift, ArrayShift) \ |
6813 V(Function.prototype, apply, FunctionApply) \ | 6814 V(Function.prototype, apply, FunctionApply) \ |
6814 V(String.prototype, charCodeAt, StringCharCodeAt) \ | 6815 V(String.prototype, charCodeAt, StringCharCodeAt) \ |
6815 V(String.prototype, charAt, StringCharAt) \ | 6816 V(String.prototype, charAt, StringCharAt) \ |
6816 V(String, fromCharCode, StringFromCharCode) \ | 6817 V(String, fromCharCode, StringFromCharCode) \ |
6817 V(Math, floor, MathFloor) \ | 6818 V(Math, floor, MathFloor) \ |
6818 V(Math, round, MathRound) \ | 6819 V(Math, round, MathRound) \ |
6819 V(Math, ceil, MathCeil) \ | 6820 V(Math, ceil, MathCeil) \ |
6820 V(Math, abs, MathAbs) \ | 6821 V(Math, abs, MathAbs) \ |
6821 V(Math, log, MathLog) \ | 6822 V(Math, log, MathLog) \ |
6822 V(Math, exp, MathExp) \ | 6823 V(Math, exp, MathExp) \ |
(...skipping 4296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11119 } else { | 11120 } else { |
11120 value &= ~(1 << bit_position); | 11121 value &= ~(1 << bit_position); |
11121 } | 11122 } |
11122 return value; | 11123 return value; |
11123 } | 11124 } |
11124 }; | 11125 }; |
11125 | 11126 |
11126 } } // namespace v8::internal | 11127 } } // namespace v8::internal |
11127 | 11128 |
11128 #endif // V8_OBJECTS_H_ | 11129 #endif // V8_OBJECTS_H_ |
OLD | NEW |