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 26 matching lines...) Expand all Loading... |
37 NEEDS_CALLED_FUNCTION = 1 | 37 NEEDS_CALLED_FUNCTION = 1 |
38 }; | 38 }; |
39 | 39 |
40 | 40 |
41 // Define list of builtins implemented in C++. | 41 // Define list of builtins implemented in C++. |
42 #define BUILTIN_LIST_C(V) \ | 42 #define BUILTIN_LIST_C(V) \ |
43 V(Illegal, NO_EXTRA_ARGUMENTS) \ | 43 V(Illegal, NO_EXTRA_ARGUMENTS) \ |
44 \ | 44 \ |
45 V(EmptyFunction, NO_EXTRA_ARGUMENTS) \ | 45 V(EmptyFunction, NO_EXTRA_ARGUMENTS) \ |
46 \ | 46 \ |
| 47 V(InternalArrayCodeGeneric, NO_EXTRA_ARGUMENTS) \ |
47 V(ArrayCodeGeneric, NO_EXTRA_ARGUMENTS) \ | 48 V(ArrayCodeGeneric, NO_EXTRA_ARGUMENTS) \ |
48 \ | 49 \ |
49 V(ArrayPush, NO_EXTRA_ARGUMENTS) \ | 50 V(ArrayPush, NO_EXTRA_ARGUMENTS) \ |
50 V(ArrayPop, NO_EXTRA_ARGUMENTS) \ | 51 V(ArrayPop, NO_EXTRA_ARGUMENTS) \ |
51 V(ArrayShift, NO_EXTRA_ARGUMENTS) \ | 52 V(ArrayShift, NO_EXTRA_ARGUMENTS) \ |
52 V(ArrayUnshift, NO_EXTRA_ARGUMENTS) \ | 53 V(ArrayUnshift, NO_EXTRA_ARGUMENTS) \ |
53 V(ArraySlice, NO_EXTRA_ARGUMENTS) \ | 54 V(ArraySlice, NO_EXTRA_ARGUMENTS) \ |
54 V(ArraySplice, NO_EXTRA_ARGUMENTS) \ | 55 V(ArraySplice, NO_EXTRA_ARGUMENTS) \ |
55 V(ArrayConcat, NO_EXTRA_ARGUMENTS) \ | 56 V(ArrayConcat, NO_EXTRA_ARGUMENTS) \ |
56 \ | 57 \ |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 | 375 |
375 friend class BuiltinFunctionTable; | 376 friend class BuiltinFunctionTable; |
376 friend class Isolate; | 377 friend class Isolate; |
377 | 378 |
378 DISALLOW_COPY_AND_ASSIGN(Builtins); | 379 DISALLOW_COPY_AND_ASSIGN(Builtins); |
379 }; | 380 }; |
380 | 381 |
381 } } // namespace v8::internal | 382 } } // namespace v8::internal |
382 | 383 |
383 #endif // V8_BUILTINS_H_ | 384 #endif // V8_BUILTINS_H_ |
OLD | NEW |