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 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1118 void CallCFunction(Register function, | 1118 void CallCFunction(Register function, |
1119 int num_reg_arguments, | 1119 int num_reg_arguments, |
1120 int num_double_arguments); | 1120 int num_double_arguments); |
1121 | 1121 |
1122 void GetCFunctionDoubleResult(const DwVfpRegister dst); | 1122 void GetCFunctionDoubleResult(const DwVfpRegister dst); |
1123 | 1123 |
1124 // Calls an API function. Allocates HandleScope, extracts returned value | 1124 // Calls an API function. Allocates HandleScope, extracts returned value |
1125 // from handle and propagates exceptions. Restores context. stack_space | 1125 // from handle and propagates exceptions. Restores context. stack_space |
1126 // - space to be unwound on exit (includes the call JS arguments space and | 1126 // - space to be unwound on exit (includes the call JS arguments space and |
1127 // the additional space allocated for the fast call). | 1127 // the additional space allocated for the fast call). |
1128 void CallApiFunctionAndReturn(ExternalReference function, int stack_space); | 1128 void CallApiFunctionAndReturn(void* function_address, |
| 1129 ExternalReference::Type function_type, |
| 1130 int stack_space, |
| 1131 int return_value_operand, |
| 1132 int return_value_offset); |
1129 | 1133 |
1130 // Jump to a runtime routine. | 1134 // Jump to a runtime routine. |
1131 void JumpToExternalReference(const ExternalReference& builtin); | 1135 void JumpToExternalReference(const ExternalReference& builtin); |
1132 | 1136 |
1133 // Invoke specified builtin JavaScript function. Adds an entry to | 1137 // Invoke specified builtin JavaScript function. Adds an entry to |
1134 // the unresolved list if the name does not resolve. | 1138 // the unresolved list if the name does not resolve. |
1135 void InvokeBuiltin(Builtins::JavaScript id, | 1139 void InvokeBuiltin(Builtins::JavaScript id, |
1136 InvokeFlag flag, | 1140 InvokeFlag flag, |
1137 const CallWrapper& call_wrapper = NullCallWrapper()); | 1141 const CallWrapper& call_wrapper = NullCallWrapper()); |
1138 | 1142 |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1474 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1478 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1475 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1479 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1476 #else | 1480 #else |
1477 #define ACCESS_MASM(masm) masm-> | 1481 #define ACCESS_MASM(masm) masm-> |
1478 #endif | 1482 #endif |
1479 | 1483 |
1480 | 1484 |
1481 } } // namespace v8::internal | 1485 } } // namespace v8::internal |
1482 | 1486 |
1483 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1487 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |