This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN 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: strange "a la m32r" comment in cgen-dis.in


Frank Ch. Eigler writes:
 > Hi -
 > 
 > dje wrote:
 > > I don't understand the "possibly modified" part of this comment.
 > > cgen-dis.in:
 > >   /* Fill in ex_info fields like read_insn would.  Don't actually call
 > >      read_insn, since the incoming buffer is already read (and possibly
 > >      modified a la m32r).  */
 > > Can you elaborate? [...]
 > 
 > I suspect I was referring to the modifications of buf[]
 > in cgen/cpu/m32r.opc (my_print_insn).

Ah.  It's not the buffer that's modified but the pointer.
This is in response to the bug created when read_insn got added.
I'll clean this up.


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