Intermediate work in progress commit on the arm64 C++/UNO bridge

Note that the arm64 code is not even close to "working" yet.

Change-Id: I261d09f7e797cded26396ed0d4b8b3021f712ebf
This commit is contained in:
Tor Lillqvist
2013-11-17 11:44:23 +02:00
committed by Tor Lillqvist
parent 5d10ae6f51
commit 72bbd83c03
5 changed files with 1209 additions and 20 deletions

View File

@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#if defined(__arm) || defined(__arm64)
#ifdef __arm
// For iOS devices (ARM). Basically a copy of
// ../gcc3_linux_arm/cpp2uno.cxx with some cleanups and necessary
@@ -184,8 +184,6 @@ void callVirtualMethod(
sal_uInt32 nGPR,
double *pFPR)
{
#ifdef __arm
// never called
if (! pThis)
CPPU_CURRENT_NAMESPACE::dummy_can_throw_anything("xxx"); // address something
@@ -236,21 +234,6 @@ void callVirtualMethod(
: "r0", "r1", "r2", "r3", "r4", "r5");
MapReturn(r0, r1, pReturnType, (sal_uInt32*)pRegisterReturn);
#else
abort(); // arm64 code not yet implemented
(void) pThis;
(void) nVtableIndex;
(void) pRegisterReturn;
(void) pReturnType;
(void) pStack;
(void) nStack;
(void) pGPR;
(void) nGPR;
(void) pFPR;
#endif
}
}