OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 V(ArrayShift, NO_EXTRA_ARGUMENTS) \ | 51 V(ArrayShift, NO_EXTRA_ARGUMENTS) \ |
52 V(ArrayUnshift, NO_EXTRA_ARGUMENTS) \ | 52 V(ArrayUnshift, NO_EXTRA_ARGUMENTS) \ |
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 \ |
| 63 V(StrictFunctionCaller, NO_EXTRA_ARGUMENTS) \ |
| 64 V(StrictFunctionArguments, NO_EXTRA_ARGUMENTS) |
62 | 65 |
63 | 66 |
64 // Define list of builtins implemented in assembly. | 67 // Define list of builtins implemented in assembly. |
65 #define BUILTIN_LIST_A(V) \ | 68 #define BUILTIN_LIST_A(V) \ |
66 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, \ | 69 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, \ |
67 Code::kNoExtraICState) \ | 70 Code::kNoExtraICState) \ |
68 V(JSConstructCall, BUILTIN, UNINITIALIZED, \ | 71 V(JSConstructCall, BUILTIN, UNINITIALIZED, \ |
69 Code::kNoExtraICState) \ | 72 Code::kNoExtraICState) \ |
70 V(JSConstructStubCountdown, BUILTIN, UNINITIALIZED, \ | 73 V(JSConstructStubCountdown, BUILTIN, UNINITIALIZED, \ |
71 Code::kNoExtraICState) \ | 74 Code::kNoExtraICState) \ |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 static void Generate_ArrayConstructCode(MacroAssembler* masm); | 333 static void Generate_ArrayConstructCode(MacroAssembler* masm); |
331 | 334 |
332 static void Generate_StringConstructCode(MacroAssembler* masm); | 335 static void Generate_StringConstructCode(MacroAssembler* masm); |
333 | 336 |
334 static void Generate_OnStackReplacement(MacroAssembler* masm); | 337 static void Generate_OnStackReplacement(MacroAssembler* masm); |
335 }; | 338 }; |
336 | 339 |
337 } } // namespace v8::internal | 340 } } // namespace v8::internal |
338 | 341 |
339 #endif // V8_BUILTINS_H_ | 342 #endif // V8_BUILTINS_H_ |
OLD | NEW |