diff options
author | Doug Evans <dje@google.com> | 2010-01-07 18:05:45 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2010-01-07 18:05:45 +0000 |
commit | b7cd1872af07e11e50368d40505ef8b57e192bcc (patch) | |
tree | 78a2ad135f1ed3ca39adbc8a6725d8506df6d434 /opcodes/fr30-ibld.c | |
parent | 16583161e14cbe747e78da035790c48951884556 (diff) | |
download | gdb-b7cd1872af07e11e50368d40505ef8b57e192bcc.zip gdb-b7cd1872af07e11e50368d40505ef8b57e192bcc.tar.gz gdb-b7cd1872af07e11e50368d40505ef8b57e192bcc.tar.bz2 |
* cgen-ibld.in (insert_normal, extract_normal): Minor cleanup.
* fr30-ibld.c, * frv-ibld.c, * ip2k-ibld.c, * iq2000-ibld.c,
* lm32-ibld.c, * m32c-ibld.c, * m32r-ibld.c, * mep-ibld.c,
* mt-ibld.c, * openrisc-ibld.c, * xc16x-ibld.c,
* xstormy16-ibld.c: Regenerate.
Diffstat (limited to 'opcodes/fr30-ibld.c')
-rw-r--r-- | opcodes/fr30-ibld.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/fr30-ibld.c b/opcodes/fr30-ibld.c index 077f0ac..7487470 100644 --- a/opcodes/fr30-ibld.c +++ b/opcodes/fr30-ibld.c @@ -138,7 +138,7 @@ insert_normal (CGEN_CPU_DESC cd, if (length == 0) return NULL; - if (word_length > 32) + if (word_length > 8 * sizeof (CGEN_INSN_INT)) abort (); /* For architectures with insns smaller than the base-insn-bitsize, @@ -442,7 +442,7 @@ extract_normal (CGEN_CPU_DESC cd, return 1; } - if (word_length > 32) + if (word_length > 8 * sizeof (CGEN_INSN_INT)) abort (); /* For architectures with insns smaller than the insn-base-bitsize, @@ -469,7 +469,7 @@ extract_normal (CGEN_CPU_DESC cd, { unsigned char *bufp = ex_info->insn_bytes + word_offset / 8; - if (word_length > 32) + if (word_length > 8 * sizeof (CGEN_INSN_INT)) abort (); if (fill_cache (cd, ex_info, word_offset / 8, word_length / 8, pc) == 0) |