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: [c++, cxx-reflection] Initial thoughts on type reflection.


Phil Edwards <phil at jaj dot com> writes:

[...]

| > We need
| > first to have a better shape for the existing built-in machinery.
| > For example, there are things expanded by the front-end and we don't
| > want  RTL for them; the existing framework has everything we need
| > except that it insists on RTL.  We need to refine that, for example.
| 
| Sounds great.  I have no idea how.  Any takers?

There is a category of built-ins called BUILT_IN_FRONTEND, which are
expanded by the front-ends.  In our case we don't want RTL, still we
want them to me marked BUILT_IN_FRONT_END.  Our built-ins will be
expanded by the front-end (into a tree or GIMPLE or whatever it gets
called by the time we merge).  The invariant here is that, the ressult
of the expansion is still something that conceptually happens at the code
source level.

-- Gaby


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