Fix compilation for simulator

This commit is contained in:
Tor Lillqvist
2012-03-07 01:53:43 +02:00
parent 07cf4a4a21
commit 37b6a37a26

View File

@@ -112,8 +112,6 @@ namespace arm
} }
} }
#endif
void MapReturn(sal_uInt32 r0, sal_uInt32 r1, typelib_TypeDescriptionReference * pReturnType, sal_uInt32* pRegisterReturn) void MapReturn(sal_uInt32 r0, sal_uInt32 r1, typelib_TypeDescriptionReference * pReturnType, sal_uInt32* pRegisterReturn)
{ {
switch( pReturnType->eTypeClass ) switch( pReturnType->eTypeClass )
@@ -160,6 +158,8 @@ void MapReturn(sal_uInt32 r0, sal_uInt32 r1, typelib_TypeDescriptionReference *
} }
} }
#endif
namespace namespace
{ {
@@ -200,7 +200,7 @@ void callVirtualMethod(
#else #else
volatile long edx = 0, eax = 0; // for register returns volatile long edx = 0, eax = 0; // for register returns
void * stackptr; void * stackptr = 0;
asm volatile ( asm volatile (
"mov %%esp, %6\n\t" "mov %%esp, %6\n\t"
"mov %0, %%eax\n\t" "mov %0, %%eax\n\t"