opcodes: blackfin: clean up saved_state
authorMike Frysinger <vapier@gentoo.org>
Sun, 20 Feb 2011 01:26:14 +0000 (01:26 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 20 Feb 2011 01:26:14 +0000 (01:26 +0000)
commite5bc42655d54ebf649cb26d2c36c269b2d610e83
tree9155a90e38bee63b3c53f8982c6259dcb3af71d6
parentb177df88cfacf27b8164f515d29209a802c99c65
opcodes: blackfin: clean up saved_state

Mark the state static, punt unused members, unify indexable register
lookups, and abort when there is a register lookup failure.  Otherwise
we return NULL and the calling code assumes a valid pointer is returned.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
opcodes/ChangeLog
opcodes/bfin-dis.c