gencodes.c (main): Define CODE_FOR_nothing as the last possible insn_code_number + 1.

* gencodes.c (main): Define CODE_FOR_nothing as the last possible
        insn_code_number + 1.

From-SVN: r35473
This commit is contained in:
Herman A.J. ten Brugge 2000-08-04 09:01:30 +02:00 committed by Jeff Law
parent 278a83b26f
commit 024a650bcb
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2000-08-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
* gencodes.c (main): Define CODE_FOR_nothing as the last possible
insn_code_number + 1.
2000-08-04 Kazu Hirata <kazu@hxi.com>
* cse.c: Fix a comment typo. Fix formatting.

View file

@ -84,7 +84,7 @@ from the machine description file `md'. */\n\n");
gen_insn (desc);
}
printf (" CODE_FOR_nothing };\n");
printf (" CODE_FOR_nothing = %d };\n", insn_code_number + 1);
printf ("\n#define MAX_INSN_CODE ((int) CODE_FOR_nothing)\n");