Kaydet (Commit) ffc7b3f8 authored tarafından Pierre-Eric Pelloux-Prayer's avatar Pierre-Eric Pelloux-Prayer Kaydeden (comit) Michael Meeks

Mark ecx register as clobbered (solaris/intel)

This is a followup of :
commit e748b096
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
üst 27dfb08d
...@@ -97,7 +97,7 @@ static void callVirtualMethod( ...@@ -97,7 +97,7 @@ static void callVirtualMethod(
: :
: "m"(nStackLongs), "m"(pStackLongs), "m"(pAdjustedThisPtr), : "m"(nStackLongs), "m"(pStackLongs), "m"(pAdjustedThisPtr),
"m"(nVtableIndex), "m"(eax), "m"(edx), "m"(stackptr) "m"(nVtableIndex), "m"(eax), "m"(edx), "m"(stackptr)
: "eax", "edx" ); : "eax", "ecx", "edx" );
switch( eReturnType ) switch( eReturnType )
{ {
case typelib_TypeClass_HYPER: case typelib_TypeClass_HYPER:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment