[PATCH] sim: avoid shadowing vars when decoding insns

Mike Frysinger vapier@gentoo.org
Fri Dec 22 15:49:15 GMT 2023


On 22 Dec 2023 11:45, Jose E. Marchesi wrote:
> >  ; Generate switch statement to decode TABLE-GUTS.
> > -; SWITCH-NUM is for compatibility with the computed goto decoder and
> > -; isn't used.
> > +; SWITCH-NUM is for compatibility with the computed goto decoder and tracks the
> > +; nesting depth.
> 
> I wonder if it would be better to not mention the "computed goto
> decoder" at all in the comment block, since AFAIK it doesn't
> exist.

i have no idea what it is, so i deleted it as suggested
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/cgen/attachments/20231222/34ff8ed2/attachment.sig>


More information about the Cgen mailing list