Re: isTemporaryID unrecognized selector - how do I debug this?
Re: isTemporaryID unrecognized selector - how do I debug this?
- Subject: Re: isTemporaryID unrecognized selector - how do I debug this?
- From: "Sean McBride" <email@hidden>
- Date: Thu, 9 Sep 2010 15:23:02 -0400
- Organization: Rogue Research Inc.
On Fri, 3 Sep 2010 19:52:54 -0700, Jerry Krinock said:
>http://developer.apple.com/mac/library/technotes/tn2004/tn2124.html >
>"Architecture Considerations"
Sadly this awesome technote has not been updated in 3 years. We should
all file bugs. :)
>But there's a problem. I see you've got a 64-bit machine. The first
>article says that "64-bit Intel restores sanity to the equation by
>passing arguments in registers", but he doesn't say which registers, and
>neither does the Apple Technical Note.
>
>I'm going to have to get a 64-bit Mac one of these days. Does anyone
>know the register mapping for Intel 64?
Forgot where I got this (ie credit not mine), but:
given:
-(id)method:(id)arg2 bar:(id)arg3 baz:(id)arg4
ppc/ppc64: x86_64: i386:
arg0 (self) $r3 $rdi *(id*)($ebp + 8)
arg1 (_cmd) $r4 $rsi *(SEL*)($ebp + 12)
arg2 $r5 $rdx *(id*)($ebp + 16)
arg3 $r6 $rcx *(id*)($ebp + 20)
arg4 $r7 $r8 ?
arg5 $r8 $r9 ?
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden