diff options
author | Kristian Rietveld <kris@lanedo.com> | 2011-10-15 01:15:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-10-17 08:13:54 +0200 |
commit | e748b096633c5ef747f0630d13708d8dd7308a86 (patch) | |
tree | 647d666db3ce0895e31919d669144dc6551953d9 /bridges/source/cpp_uno/gcc3_linux_intel | |
parent | 62dd77da0f0e7e1a48078f731ab1a7650c3906f0 (diff) |
Mark ecx register as clobbered
The inline assembly code executes a function call and functions are
free to use eax, ecx and edx without preservation. We must thus mark
ecx as a clobber register.
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_intel')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx index 21febefad110..444319030d84 100644 --- a/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx @@ -123,7 +123,7 @@ void callVirtualMethod( : : "m"(nStackLongs), "m"(pStackLongs), "m"(pAdjustedThisPtr), "m"(nVtableIndex), "m"(eax), "m"(edx), "m"(stackptr) - : "eax", "edx" ); + : "eax", "ecx", "edx" ); switch( pReturnTypeDescr->eTypeClass ) { case typelib_TypeClass_VOID: |