This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Accessing Go type descriptors from the middle end


On Thu, Dec 13, 2012 at 4:16 AM, Matt Davis <mattdavis9@gmail.com> wrote:
>
> I have a GIMPLE pass and would like to make use of the data type
> information that the Go frontend produces.  Is there a way to access
> this information from the middle end without having to query the
> frontend?

What kind of data type information are you interested in?

In general you can't query the frontend from a GIMPLE pass.  And the
way the Go frontend is structured, it would be pretty hard to make
that work even if it were possible.  There is no mapping from GIMPLE
types to Go types, because no such mapping is needed.  Once the
program has been converted to GIMPLE, the Go frontend is out of the
picture anyhow.

Ian


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