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]

Patch: CGEN_MAX_SYNTAX_ELEMENTS


Hi,

A port I'm working on requires the following little patch.  Frank has
looked at it and approved, but I just wanted to put it out here before
commiting it to sourceware in case anyone has any comments or concerns.

Thanks,

John

-------------------------------------------------------------------


Index: include/opcode/cgen.h
===================================================================
RCS file: /cvs/src/src/include/opcode/cgen.h,v
retrieving revision 1.10
diff -c -4 -p -r1.10 cgen.h
*** cgen.h      2001/03/14 02:27:44     1.10
--- cgen.h      2001/05/11 16:22:54
*************** typedef struct
*** 735,743 ****
     into the operand table.  The operand table doesn't exist in C, per
se, as
     the data is recorded in the parse/insert/extract/print switch
statements. */

  /* This should be at least as large as necessary for any target. */
! #define CGEN_MAX_SYNTAX_ELEMENTS 40

  /* A target may know its own precise maximum.  Assert that it falls
below
     the above limit. */
  #ifdef CGEN_ACTUAL_MAX_SYNTAX_ELEMENTS
--- 735,743 ----
     into the operand table.  The operand table doesn't exist in C, per
se, as
     the data is recorded in the parse/insert/extract/print switch
statements. */

  /* This should be at least as large as necessary for any target. */
! #define CGEN_MAX_SYNTAX_ELEMENTS 48

  /* A target may know its own precise maximum.  Assert that it falls
below
     the above limit. */
  #ifdef CGEN_ACTUAL_MAX_SYNTAX_ELEMENTS


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