Re: Re : Re : Re : Re : [GENERIC] problem when adding 2 VAR_DEC in the main function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



charfi asma <charfiasma@xxxxxxxx> writes:

> I look at the cp and java front end and they actually use TYPE_MEHODS to add 
> method to one class.
> both implement add_method function that contains:  
>
> DECL_CHAIN (fndecl) = TYPE_METHODS (this_class);
> TYPE_METHODS (this_class) = fndecl;
>
> so the middle-end  take this Generic representation of a method and gimplify it.
>
> so why it does not work in my case ?

I think that they also pass the function to the middle-end separately,
and just use the TYPE_METHODS in the frontend to keep track of them.  I
don't see anything in the middle-end which walks down the TYPE_METHOD,
other than for generating debug info.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux