In Mac OS, that looks like the EDI stored the handle of current instance of one class. Is it right? I hope to call other class methods via it.
Even though I checked Intel 64bit manual and AMD64 ABI interface, there is no clear answer about it.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It would usually be in RDI, as it’s treated as the first parameter to a function, and under the ABI, that parameter is passed in RDI.
caveat: If the return value from the method is non-trivial (i.e. it’s a temporary allocated in stack) then there is an additional 1st parameter passed, which is the address of that temporary, and which comes before the
thispointer.