* cgen-opc.in (@arch@_cgen_get_insn_operands): Handle empty
operand instance list. * m32r-opc.c: Regenerate.
This commit is contained in:
parent
8114673a2b
commit
b2f1861292
3 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Fri Feb 13 14:26:06 1998 Doug Evans <devans@canuck.cygnus.com>
|
||||
|
||||
* cgen-opc.in (@arch@_cgen_get_insn_operands): Handle empty
|
||||
operand instance list.
|
||||
* m32r-opc.c: Regenerate.
|
||||
|
||||
Fri Feb 13 14:53:02 1998 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* Makefile.am (AUTOMAKE_OPTIONS): Define.
|
||||
|
|
|
@ -143,7 +143,8 @@ const CGEN_INSN *
|
|||
return NULL;
|
||||
|
||||
for (i = 0, opinst = CGEN_INSN_OPERANDS (insn);
|
||||
CGEN_OPERAND_INSTANCE_TYPE (opinst) != CGEN_OPERAND_INSTANCE_END;
|
||||
opinst != NULL
|
||||
&& CGEN_OPERAND_INSTANCE_TYPE (opinst) != CGEN_OPERAND_INSTANCE_END;
|
||||
++i, ++opinst)
|
||||
{
|
||||
const CGEN_OPERAND *op = CGEN_OPERAND_INSTANCE_OPERAND (opinst);
|
||||
|
|
|
@ -143,7 +143,8 @@ m32r_cgen_get_insn_operands (insn, insn_value, length, indices)
|
|||
return NULL;
|
||||
|
||||
for (i = 0, opinst = CGEN_INSN_OPERANDS (insn);
|
||||
CGEN_OPERAND_INSTANCE_TYPE (opinst) != CGEN_OPERAND_INSTANCE_END;
|
||||
opinst != NULL
|
||||
&& CGEN_OPERAND_INSTANCE_TYPE (opinst) != CGEN_OPERAND_INSTANCE_END;
|
||||
++i, ++opinst)
|
||||
{
|
||||
const CGEN_OPERAND *op = CGEN_OPERAND_INSTANCE_OPERAND (opinst);
|
||||
|
|
Loading…
Reference in a new issue