On Tue, May 28, 2002 at 07:54:49AM -0700, Robert Spier wrote:
> 
> >    #define PARROT_str_local(d)        \
> >       STRING * d = NULL;              \
> >       frame frame_##d;                \
> >       int dummy_##d = (               \
> >         (frame_##d.ptr = &d),         \
> >         (frame_##d.next = stack_top), \
> >         (stack_top = &frame_##d),     \
> >         0);
> 
> This triggers the perl5 macro-iitis alarm.  
> 
> Please don't do this :)
> 
> If you need to do things like that, then maybe we need to develop our
> own function inliner -- there will still be debugging issues with the
> optimizer, but less, if it looks like this:
[...]

What are the debugging issues you mention?  Note that this macro will
never fail: there is no pointer deferencing, no memory allocation, ...

-- Jerome

Reply via email to