This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gofrontend-dev] Re: [PATCH 03/13] HACK! Allow the static chain to be set from C


On 10/10/2014 06:42 PM, Peter Collingbourne wrote:
> A colleague has suggested a perhaps nicer syntax:
> 
> __builtin_call_chain(pointer, call) where call must be a call expression

I like this.

Unlike the other suggestions, it doesn't mess with the parsing of the "regular"
part of the function call.  And, depending on what point the builtin is lowered
and applied to the AST, it might not require any parsing changes at all.

I'll have a look at this next week.  Thanks.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]