On Sep 4, 2010, at 12:50 PM, Jerry Krinock wrote:

> 
> On 2010 Sep 03, at 21:25, Gideon King wrote:
> 
>> I was able to track it down by going to the 
>> maintainInverseRelationship:forProperty:oldDestination:newDestination: 
>> method call in the stack, and finding the entity in register 12.
> 
> So did you ever find out the mapping between function parameters and 
> registers on the 64-bit Intel architecture, or did you just poke around 
> blindly in all the registers?
> 
> Can anyone confirm that the  *(int *)($esp+4), *(int *)($esp+8) incantations 
> given in Apple's TN2124 are only true on the 32-bit Intel architecture?
> 

By definition. The stack pointer is only called esp on i386. On 64 bit 
architectures the register is rsp.


> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/velocityboy%40rodentia.net
> 
> This email sent to [email protected]
> 

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to