sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations
authorMike Frysinger <vapier@gentoo.org>
Mon, 13 Feb 2017 05:12:35 +0000 (00:12 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 13 Feb 2017 06:26:21 +0000 (01:26 -0500)
commit13a590ca65f744c8fa55d6e0748cb12f443493f0
tree0aaec23ac3d6682a00d7af03dbef8e790c47b681
parentb1499fc214c2877ba76d7dffd4c41e33f3ec37f6
sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations
39 files changed:
sim/arm/ChangeLog
sim/arm/armos.c
sim/arm/armsupp.c
sim/arm/wrapper.c
sim/cris/ChangeLog
sim/cris/decodev10.c
sim/cris/decodev32.c
sim/cris/sim-if.c
sim/frv/ChangeLog
sim/frv/decode.c
sim/iq2000/ChangeLog
sim/iq2000/decode.c
sim/lm32/ChangeLog
sim/lm32/decode.c
sim/m32c/ChangeLog
sim/m32c/srcdest.c
sim/m32r/ChangeLog
sim/m32r/decode.c
sim/m32r/decode2.c
sim/m32r/decodex.c
sim/m68hc11/ChangeLog
sim/m68hc11/gencode.c
sim/m68hc11/interrupts.c
sim/ppc/ChangeLog
sim/ppc/cpu.h
sim/ppc/emul_bugapi.c
sim/ppc/emul_generic.h
sim/ppc/emul_netbsd.c
sim/ppc/emul_unix.c
sim/ppc/options.c
sim/ppc/ppc-instructions
sim/rx/ChangeLog
sim/rx/rx.c
sim/sh/ChangeLog
sim/sh/gencode.c
sim/sh/interp.c
sim/sh64/ChangeLog
sim/sh64/decode-compact.c
sim/sh64/decode-media.c