diff options
author | Pierre-Eric Pelloux-Prayer <pierre-eric@lanedo.com> | 2012-07-09 11:22:19 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-07-10 16:23:34 +0100 |
commit | ffc7b3f8a19f643f2e0b95d72ff5608ba0bf385e (patch) | |
tree | 220a33abe4a781509dbc12f05213aaa507142edf /bridges | |
parent | 27dfb08d09803055a76ece27dfda47cbc79eb251 (diff) |
Mark ecx register as clobbered (solaris/intel)
This is a followup of :
commit e748b096633c5ef747f0630d13708d8dd7308a86
Author: Kristian Rietveld <kris@lanedo.com>
Date: Sat Oct 15 01:15:21 2011 +0200
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.
Change-Id: I4e9ed38189b23c2bb6d4fbdedc34c318026acfe7
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx index a97a736c8042..8099a25bef8f 100644 --- a/bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx @@ -97,7 +97,7 @@ static void callVirtualMethod( : : "m"(nStackLongs), "m"(pStackLongs), "m"(pAdjustedThisPtr), "m"(nVtableIndex), "m"(eax), "m"(edx), "m"(stackptr) - : "eax", "edx" ); + : "eax", "ecx", "edx" ); switch( eReturnType ) { case typelib_TypeClass_HYPER: |