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/base/bits.h" | 10 #include "src/base/bits.h" |
(...skipping 6857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6868 // | 6868 // |
6869 // Installation of ids for the selected builtin functions is handled | 6869 // Installation of ids for the selected builtin functions is handled |
6870 // by the bootstrapper. | 6870 // by the bootstrapper. |
6871 #define FUNCTIONS_WITH_ID_LIST(V) \ | 6871 #define FUNCTIONS_WITH_ID_LIST(V) \ |
6872 V(Array.prototype, indexOf, ArrayIndexOf) \ | 6872 V(Array.prototype, indexOf, ArrayIndexOf) \ |
6873 V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \ | 6873 V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \ |
6874 V(Array.prototype, push, ArrayPush) \ | 6874 V(Array.prototype, push, ArrayPush) \ |
6875 V(Array.prototype, pop, ArrayPop) \ | 6875 V(Array.prototype, pop, ArrayPop) \ |
6876 V(Array.prototype, shift, ArrayShift) \ | 6876 V(Array.prototype, shift, ArrayShift) \ |
6877 V(Function.prototype, apply, FunctionApply) \ | 6877 V(Function.prototype, apply, FunctionApply) \ |
| 6878 V(Function.prototype, call, FunctionCall) \ |
6878 V(String.prototype, charCodeAt, StringCharCodeAt) \ | 6879 V(String.prototype, charCodeAt, StringCharCodeAt) \ |
6879 V(String.prototype, charAt, StringCharAt) \ | 6880 V(String.prototype, charAt, StringCharAt) \ |
6880 V(String, fromCharCode, StringFromCharCode) \ | 6881 V(String, fromCharCode, StringFromCharCode) \ |
6881 V(Math, floor, MathFloor) \ | 6882 V(Math, floor, MathFloor) \ |
6882 V(Math, round, MathRound) \ | 6883 V(Math, round, MathRound) \ |
6883 V(Math, ceil, MathCeil) \ | 6884 V(Math, ceil, MathCeil) \ |
6884 V(Math, abs, MathAbs) \ | 6885 V(Math, abs, MathAbs) \ |
6885 V(Math, log, MathLog) \ | 6886 V(Math, log, MathLog) \ |
6886 V(Math, exp, MathExp) \ | 6887 V(Math, exp, MathExp) \ |
6887 V(Math, sqrt, MathSqrt) \ | 6888 V(Math, sqrt, MathSqrt) \ |
(...skipping 4247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11135 } else { | 11136 } else { |
11136 value &= ~(1 << bit_position); | 11137 value &= ~(1 << bit_position); |
11137 } | 11138 } |
11138 return value; | 11139 return value; |
11139 } | 11140 } |
11140 }; | 11141 }; |
11141 | 11142 |
11142 } } // namespace v8::internal | 11143 } } // namespace v8::internal |
11143 | 11144 |
11144 #endif // V8_OBJECTS_H_ | 11145 #endif // V8_OBJECTS_H_ |
OLD | NEW |