Sandra-24
asked on
thiscall
Just a quick question, if you code a member function in assembler, the this pointer is passed as ecx.
Can you use ecx then without the need to save it to the stack and restore it when your finished?
Or will the compiler assume that since it already put the this pointer into ecx, it can skip that on the next member function call.
Is there any way to tell? I looked at the disassembly but didn't see anything conclusive one way or the other.
thanks,
-Sandra
Can you use ecx then without the need to save it to the stack and restore it when your finished?
Or will the compiler assume that since it already put the this pointer into ecx, it can skip that on the next member function call.
Is there any way to tell? I looked at the disassembly but didn't see anything conclusive one way or the other.
thanks,
-Sandra
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks,
-Sandra