OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 1067 matching lines...) Loading... |
1078 int num_reg_arguments, | 1078 int num_reg_arguments, |
1079 int num_double_arguments); | 1079 int num_double_arguments); |
1080 | 1080 |
1081 void GetCFunctionDoubleResult(const DwVfpRegister dst); | 1081 void GetCFunctionDoubleResult(const DwVfpRegister dst); |
1082 | 1082 |
1083 // Calls an API function. Allocates HandleScope, extracts returned value | 1083 // Calls an API function. Allocates HandleScope, extracts returned value |
1084 // from handle and propagates exceptions. Restores context. stack_space | 1084 // from handle and propagates exceptions. Restores context. stack_space |
1085 // - space to be unwound on exit (includes the call JS arguments space and | 1085 // - space to be unwound on exit (includes the call JS arguments space and |
1086 // the additional space allocated for the fast call). | 1086 // the additional space allocated for the fast call). |
1087 void CallApiFunctionAndReturn(ExternalReference function, | 1087 void CallApiFunctionAndReturn(ExternalReference function, |
| 1088 Address function_address, |
| 1089 ExternalReference thunk_ref, |
| 1090 Register thunk_last_arg, |
1088 int stack_space, | 1091 int stack_space, |
1089 bool returns_handle, | 1092 bool returns_handle, |
1090 int return_value_offset_from_fp); | 1093 int return_value_offset_from_fp); |
1091 | 1094 |
1092 // Jump to a runtime routine. | 1095 // Jump to a runtime routine. |
1093 void JumpToExternalReference(const ExternalReference& builtin); | 1096 void JumpToExternalReference(const ExternalReference& builtin); |
1094 | 1097 |
1095 // Invoke specified builtin JavaScript function. Adds an entry to | 1098 // Invoke specified builtin JavaScript function. Adds an entry to |
1096 // the unresolved list if the name does not resolve. | 1099 // the unresolved list if the name does not resolve. |
1097 void InvokeBuiltin(Builtins::JavaScript id, | 1100 void InvokeBuiltin(Builtins::JavaScript id, |
(...skipping 348 matching lines...) Loading... |
1446 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1449 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1447 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1450 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1448 #else | 1451 #else |
1449 #define ACCESS_MASM(masm) masm-> | 1452 #define ACCESS_MASM(masm) masm-> |
1450 #endif | 1453 #endif |
1451 | 1454 |
1452 | 1455 |
1453 } } // namespace v8::internal | 1456 } } // namespace v8::internal |
1454 | 1457 |
1455 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1458 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |