octave-maintainers
[Top][All Lists]
Advanced

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

Re: is the src re-org finished ?


From: Max Brister
Subject: Re: is the src re-org finished ?
Date: Fri, 3 Aug 2012 14:10:35 -0500

On Fri, Aug 3, 2012 at 12:50 PM, John W. Eaton <address@hidden> wrote:
> On  3-Aug-2012, Max Brister wrote:
>
> | On Fri, Aug 3, 2012 at 12:17 PM, Rik <address@hidden> wrote:
> | > On 08/03/2012 10:00 AM, Daniel J Sebald wrote:
> | >> On 08/03/2012 11:49 AM, Rik wrote:
> | >>> On 08/03/2012 08:21 AM, address@hidden wrote:
> | >>>> is the src re-org finished ?
> | >>> 8/3/12
> | >>>
> | >>> Ben,
> | >>>
> | >>> It's close.  I checked in another subdirectory this morning and if I 
> don't
> | >>> run into problems will have the final directory done in a few hours.
> | >>
> | >> Should pt-jit.cc and pt-jit.h be moved to the parse-tree subdirectory?
> | > I already have that question outstanding with Max.  Hopefully he'll get
> | > back to me some time today so I can finalize that.
> | >
> | > --Rik
> |
> | pt-jit.cc and pt-jit.h belong with jit. I'm going to rename them
> | (probably to jit-convert.cc and jit-convert.h) after I am done with
> | the patch I'm currently working on.
>
> It just uses the tree_walker visitor class for the parse tree,
> correct?

It is a tree_walker visitor, but it also deals with other things like
constructing the SSA and managing memory for the low level IR. This is
poor design, but I'm not quite sure how to split up the
responsibilities of the class. I am hoping this will become more
obvious when I implement compilation of user functions.

> The other classes that use this interface to the parse tree are
> currently all in the parse-tree subdirectory, but I don't see that
> they have to be there.
>
> As another example, do the pt-bp.{h,cc} files that handle setting
> breakpoints for the debugger belong with the parse tree or the other
> files that are used to implement the debugger?

It seems to me like that file should go with the other files that are
used to implement the debugger. It seems to me that it uses the parse
tree, but is not really a part of the parse tree. Instead it is a part
of the debugger.

> jwe

Max Brister


reply via email to

[Prev in Thread] Current Thread [Next in Thread]