[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GLR: modification of $1
From: |
Paul Eggert |
Subject: |
Re: GLR: modification of $1 |
Date: |
03 Oct 2003 11:17:46 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Frank Heckenbach <address@hidden> writes:
> I see that each occurrence of $1 gets expanded to something like
> `yyvsp[YYFILL (0)].yystate.yysemantics.yysval' where `YYFILL' is
> #defined to `yyfill (...)'. I hope gcc will inline the function
> calls in `-O3'
If it doesn't, please let us know. We can add an 'inline' keyword
or something (suitably ifdeffed).
> but are you sure it doesn't do any redundant work if $1 is used
> several times in an action? (Or is that also considered bad style?)
What sort of redundant work did you have in mind? There is a bit of
redundant work in some cases, since it has to evaluate "!yynormal &&
yylow1 < *yylow"; but it sounds like you're thinking of work beyond
that.
- GLR: modification of $1, Frank Heckenbach, 2003/10/01
- Re: GLR: modification of $1, Paul Eggert, 2003/10/02
- Re: GLR: modification of $1, Frank Heckenbach, 2003/10/02
- Re: GLR: modification of $1, Paul Hilfinger, 2003/10/02
- Re: GLR: modification of $1, Frank Heckenbach, 2003/10/02
- Re: GLR: modification of $1,
Paul Eggert <=
- Re: GLR: modification of $1, Frank Heckenbach, 2003/10/04
- Re: GLR: modification of $1, Paul Eggert, 2003/10/05
- Re: GLR: modification of $1, Frank Heckenbach, 2003/10/05
- Re: GLR: modification of $1, Hans Aberg, 2003/10/04
- Re: GLR: modification of $1, Frank Heckenbach, 2003/10/04
- Re: GLR: modification of $1, Hans Aberg, 2003/10/05