| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(ArrayCodeGeneric, NO_EXTRA_ARGUMENTS) \ | 47 V(ArrayCodeGeneric, NO_EXTRA_ARGUMENTS) \ |
| 48 \ | 48 \ |
| 49 V(ArrayPush, NO_EXTRA_ARGUMENTS) \ | 49 V(ArrayPush, NO_EXTRA_ARGUMENTS) \ |
| 50 V(ArrayPop, NO_EXTRA_ARGUMENTS) \ | 50 V(ArrayPop, NO_EXTRA_ARGUMENTS) \ |
| 51 V(ArrayShift, NO_EXTRA_ARGUMENTS) \ | 51 V(ArrayShift, NO_EXTRA_ARGUMENTS) \ |
| 52 V(ArrayUnshift, NO_EXTRA_ARGUMENTS) \ |
| 52 \ | 53 \ |
| 53 V(HandleApiCall, NEEDS_CALLED_FUNCTION) \ | 54 V(HandleApiCall, NEEDS_CALLED_FUNCTION) \ |
| 54 V(FastHandleApiCall, NO_EXTRA_ARGUMENTS) \ | 55 V(FastHandleApiCall, NO_EXTRA_ARGUMENTS) \ |
| 55 V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \ | 56 V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \ |
| 56 V(HandleApiCallAsFunction, NO_EXTRA_ARGUMENTS) \ | 57 V(HandleApiCallAsFunction, NO_EXTRA_ARGUMENTS) \ |
| 57 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) | 58 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) |
| 58 | 59 |
| 59 | 60 |
| 60 // Define list of builtins implemented in assembly. | 61 // Define list of builtins implemented in assembly. |
| 61 #define BUILTIN_LIST_A(V) \ | 62 #define BUILTIN_LIST_A(V) \ |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 static void Generate_FunctionCall(MacroAssembler* masm); | 247 static void Generate_FunctionCall(MacroAssembler* masm); |
| 247 static void Generate_FunctionApply(MacroAssembler* masm); | 248 static void Generate_FunctionApply(MacroAssembler* masm); |
| 248 | 249 |
| 249 static void Generate_ArrayCode(MacroAssembler* masm); | 250 static void Generate_ArrayCode(MacroAssembler* masm); |
| 250 static void Generate_ArrayConstructCode(MacroAssembler* masm); | 251 static void Generate_ArrayConstructCode(MacroAssembler* masm); |
| 251 }; | 252 }; |
| 252 | 253 |
| 253 } } // namespace v8::internal | 254 } } // namespace v8::internal |
| 254 | 255 |
| 255 #endif // V8_BUILTINS_H_ | 256 #endif // V8_BUILTINS_H_ |
| OLD | NEW |