Make "reason" a common opcode attribute
authorMichele Tartara <mtartara@google.com>
Wed, 27 Feb 2013 10:51:28 +0000 (11:51 +0100)
committerMichele Tartara <mtartara@google.com>
Wed, 6 Mar 2013 09:16:28 +0000 (09:16 +0000)
commit69c88fb1a1d792ec9a9696fe38e2faa08acfd166
treed410e151c4ba7b4d45fe101d865a15038684c969
parent9b154e2bb20f550763e82f526987b11ff14ffc07
Make "reason" a common opcode attribute

The "reason" attribute will be common to many opcodes.
This patch factors it out so that it will be possible for the next commits
to use it without code duplication.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/opcodes.py