mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
[sim] Rename local variable in ARMul_NthReg
Rename local variable in ARMul_NthReg from upto to up_to, to avoid being rewritten by gdb/contrib/spellcheck.sh. Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
@@ -388,11 +388,11 @@ ModeToBank (ARMword mode)
|
|||||||
unsigned
|
unsigned
|
||||||
ARMul_NthReg (ARMword instr, unsigned number)
|
ARMul_NthReg (ARMword instr, unsigned number)
|
||||||
{
|
{
|
||||||
unsigned bit, upto;
|
unsigned bit, up_to;
|
||||||
|
|
||||||
for (bit = 0, upto = 0; upto <= number; bit ++)
|
for (bit = 0, up_to = 0; up_to <= number; bit ++)
|
||||||
if (BIT (bit))
|
if (BIT (bit))
|
||||||
upto ++;
|
up_to ++;
|
||||||
|
|
||||||
return (bit - 1);
|
return (bit - 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user