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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 V(Make##C##CodeYoungAgainEvenMarking, BUILTIN, \ | 56 V(Make##C##CodeYoungAgainEvenMarking, BUILTIN, \ |
57 UNINITIALIZED, Code::kNoExtraICState) | 57 UNINITIALIZED, Code::kNoExtraICState) |
58 | 58 |
59 | 59 |
60 // Define list of builtins implemented in C++. | 60 // Define list of builtins implemented in C++. |
61 #define BUILTIN_LIST_C(V) \ | 61 #define BUILTIN_LIST_C(V) \ |
62 V(Illegal, NO_EXTRA_ARGUMENTS) \ | 62 V(Illegal, NO_EXTRA_ARGUMENTS) \ |
63 \ | 63 \ |
64 V(EmptyFunction, NO_EXTRA_ARGUMENTS) \ | 64 V(EmptyFunction, NO_EXTRA_ARGUMENTS) \ |
65 \ | 65 \ |
66 V(InternalArrayCodeGeneric, NO_EXTRA_ARGUMENTS) \ | |
67 V(ArrayCodeGeneric, NO_EXTRA_ARGUMENTS) \ | |
68 \ | |
69 V(ArrayPush, NO_EXTRA_ARGUMENTS) \ | 66 V(ArrayPush, NO_EXTRA_ARGUMENTS) \ |
70 V(ArrayPop, NO_EXTRA_ARGUMENTS) \ | 67 V(ArrayPop, NO_EXTRA_ARGUMENTS) \ |
71 V(ArrayShift, NO_EXTRA_ARGUMENTS) \ | 68 V(ArrayShift, NO_EXTRA_ARGUMENTS) \ |
72 V(ArrayUnshift, NO_EXTRA_ARGUMENTS) \ | 69 V(ArrayUnshift, NO_EXTRA_ARGUMENTS) \ |
73 V(ArraySlice, NO_EXTRA_ARGUMENTS) \ | 70 V(ArraySlice, NO_EXTRA_ARGUMENTS) \ |
74 V(ArraySplice, NO_EXTRA_ARGUMENTS) \ | 71 V(ArraySplice, NO_EXTRA_ARGUMENTS) \ |
75 V(ArrayConcat, NO_EXTRA_ARGUMENTS) \ | 72 V(ArrayConcat, NO_EXTRA_ARGUMENTS) \ |
76 \ | 73 \ |
77 V(HandleApiCall, NEEDS_CALLED_FUNCTION) \ | 74 V(HandleApiCall, NEEDS_CALLED_FUNCTION) \ |
78 V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \ | 75 V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \ |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 | 418 |
422 friend class BuiltinFunctionTable; | 419 friend class BuiltinFunctionTable; |
423 friend class Isolate; | 420 friend class Isolate; |
424 | 421 |
425 DISALLOW_COPY_AND_ASSIGN(Builtins); | 422 DISALLOW_COPY_AND_ASSIGN(Builtins); |
426 }; | 423 }; |
427 | 424 |
428 } } // namespace v8::internal | 425 } } // namespace v8::internal |
429 | 426 |
430 #endif // V8_BUILTINS_H_ | 427 #endif // V8_BUILTINS_H_ |
OLD | NEW |