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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 V(ArraySlice, NO_EXTRA_ARGUMENTS) \ | 53 V(ArraySlice, NO_EXTRA_ARGUMENTS) \ |
54 V(ArraySplice, NO_EXTRA_ARGUMENTS) \ | 54 V(ArraySplice, NO_EXTRA_ARGUMENTS) \ |
55 V(ArrayConcat, NO_EXTRA_ARGUMENTS) \ | 55 V(ArrayConcat, NO_EXTRA_ARGUMENTS) \ |
56 \ | 56 \ |
57 V(HandleApiCall, NEEDS_CALLED_FUNCTION) \ | 57 V(HandleApiCall, NEEDS_CALLED_FUNCTION) \ |
58 V(FastHandleApiCall, NO_EXTRA_ARGUMENTS) \ | 58 V(FastHandleApiCall, NO_EXTRA_ARGUMENTS) \ |
59 V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \ | 59 V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \ |
60 V(HandleApiCallAsFunction, NO_EXTRA_ARGUMENTS) \ | 60 V(HandleApiCallAsFunction, NO_EXTRA_ARGUMENTS) \ |
61 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \ | 61 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \ |
62 \ | 62 \ |
63 V(StrictArgumentsCallee, NO_EXTRA_ARGUMENTS) \ | 63 V(StrictModePoisonPill, NO_EXTRA_ARGUMENTS) |
64 V(StrictArgumentsCaller, NO_EXTRA_ARGUMENTS) \ | |
65 V(StrictFunctionCaller, NO_EXTRA_ARGUMENTS) \ | |
66 V(StrictFunctionArguments, NO_EXTRA_ARGUMENTS) | |
67 | |
68 | 64 |
69 // Define list of builtins implemented in assembly. | 65 // Define list of builtins implemented in assembly. |
70 #define BUILTIN_LIST_A(V) \ | 66 #define BUILTIN_LIST_A(V) \ |
71 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, \ | 67 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, \ |
72 Code::kNoExtraICState) \ | 68 Code::kNoExtraICState) \ |
73 V(JSConstructCall, BUILTIN, UNINITIALIZED, \ | 69 V(JSConstructCall, BUILTIN, UNINITIALIZED, \ |
74 Code::kNoExtraICState) \ | 70 Code::kNoExtraICState) \ |
75 V(JSConstructStubCountdown, BUILTIN, UNINITIALIZED, \ | 71 V(JSConstructStubCountdown, BUILTIN, UNINITIALIZED, \ |
76 Code::kNoExtraICState) \ | 72 Code::kNoExtraICState) \ |
77 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, \ | 73 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, \ |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 | 362 |
367 friend class BuiltinFunctionTable; | 363 friend class BuiltinFunctionTable; |
368 friend class Isolate; | 364 friend class Isolate; |
369 | 365 |
370 DISALLOW_COPY_AND_ASSIGN(Builtins); | 366 DISALLOW_COPY_AND_ASSIGN(Builtins); |
371 }; | 367 }; |
372 | 368 |
373 } } // namespace v8::internal | 369 } } // namespace v8::internal |
374 | 370 |
375 #endif // V8_BUILTINS_H_ | 371 #endif // V8_BUILTINS_H_ |
OLD | NEW |