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(ExternalReference function, |
| 1129 int stack_space, |
| 1130 bool returns_handle, |
| 1131 int return_value_offset_from_fp); |
1129 | 1132 |
1130 // Jump to a runtime routine. | 1133 // Jump to a runtime routine. |
1131 void JumpToExternalReference(const ExternalReference& builtin); | 1134 void JumpToExternalReference(const ExternalReference& builtin); |
1132 | 1135 |
1133 // Invoke specified builtin JavaScript function. Adds an entry to | 1136 // Invoke specified builtin JavaScript function. Adds an entry to |
1134 // the unresolved list if the name does not resolve. | 1137 // the unresolved list if the name does not resolve. |
1135 void InvokeBuiltin(Builtins::JavaScript id, | 1138 void InvokeBuiltin(Builtins::JavaScript id, |
1136 InvokeFlag flag, | 1139 InvokeFlag flag, |
1137 const CallWrapper& call_wrapper = NullCallWrapper()); | 1140 const CallWrapper& call_wrapper = NullCallWrapper()); |
1138 | 1141 |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1474 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1477 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1475 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1478 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1476 #else | 1479 #else |
1477 #define ACCESS_MASM(masm) masm-> | 1480 #define ACCESS_MASM(masm) masm-> |
1478 #endif | 1481 #endif |
1479 | 1482 |
1480 | 1483 |
1481 } } // namespace v8::internal | 1484 } } // namespace v8::internal |
1482 | 1485 |
1483 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1486 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |