On Aug 23, 2005, at 22:48, Sam Ruby wrote:
From December 16, 2004:
http://tinyurl.com/8smmq
Sounds like a really ugly misunderstanding, the more that I've proposed
not to pass the object (P2 in old parlance) out of band. I've stated
several times that calling conventions need changes to properly support
HLLs with minor success at these times.
What I've always said (and what is actually implemented now in the
branch) is that methods gets the object as its first argument. A
typical snippet in PIR code is now
.sub __abs
.param pmc self
or if denoted as method:
.sub __abs method
# 'self' param automagically available
The first argument of NCI or vtable methods is and was always SELF,
which usually is the invocant and always is the object (the current
only excpetion is an invocation through super()).
I'm sorry if this caused confusion.
- Sam Ruby
leo