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/builtins.h" | 10 #include "src/builtins.h" |
(...skipping 6995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7006 // | 7006 // |
7007 // Installation of ids for the selected builtin functions is handled | 7007 // Installation of ids for the selected builtin functions is handled |
7008 // by the bootstrapper. | 7008 // by the bootstrapper. |
7009 #define FUNCTIONS_WITH_ID_LIST(V) \ | 7009 #define FUNCTIONS_WITH_ID_LIST(V) \ |
7010 V(Array.prototype, indexOf, ArrayIndexOf) \ | 7010 V(Array.prototype, indexOf, ArrayIndexOf) \ |
7011 V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \ | 7011 V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \ |
7012 V(Array.prototype, push, ArrayPush) \ | 7012 V(Array.prototype, push, ArrayPush) \ |
7013 V(Array.prototype, pop, ArrayPop) \ | 7013 V(Array.prototype, pop, ArrayPop) \ |
7014 V(Array.prototype, shift, ArrayShift) \ | 7014 V(Array.prototype, shift, ArrayShift) \ |
7015 V(Function.prototype, apply, FunctionApply) \ | 7015 V(Function.prototype, apply, FunctionApply) \ |
| 7016 V(Function.prototype, call, FunctionCall) \ |
7016 V(String.prototype, charCodeAt, StringCharCodeAt) \ | 7017 V(String.prototype, charCodeAt, StringCharCodeAt) \ |
7017 V(String.prototype, charAt, StringCharAt) \ | 7018 V(String.prototype, charAt, StringCharAt) \ |
7018 V(String, fromCharCode, StringFromCharCode) \ | 7019 V(String, fromCharCode, StringFromCharCode) \ |
7019 V(Math, floor, MathFloor) \ | 7020 V(Math, floor, MathFloor) \ |
7020 V(Math, round, MathRound) \ | 7021 V(Math, round, MathRound) \ |
7021 V(Math, ceil, MathCeil) \ | 7022 V(Math, ceil, MathCeil) \ |
7022 V(Math, abs, MathAbs) \ | 7023 V(Math, abs, MathAbs) \ |
7023 V(Math, log, MathLog) \ | 7024 V(Math, log, MathLog) \ |
7024 V(Math, exp, MathExp) \ | 7025 V(Math, exp, MathExp) \ |
7025 V(Math, sqrt, MathSqrt) \ | 7026 V(Math, sqrt, MathSqrt) \ |
(...skipping 4224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11250 } else { | 11251 } else { |
11251 value &= ~(1 << bit_position); | 11252 value &= ~(1 << bit_position); |
11252 } | 11253 } |
11253 return value; | 11254 return value; |
11254 } | 11255 } |
11255 }; | 11256 }; |
11256 | 11257 |
11257 } } // namespace v8::internal | 11258 } } // namespace v8::internal |
11258 | 11259 |
11259 #endif // V8_OBJECTS_H_ | 11260 #endif // V8_OBJECTS_H_ |
OLD | NEW |