Add an opcode name conversion function
authorMichele Tartara <mtartara@google.com>
Mon, 25 Mar 2013 15:14:41 +0000 (16:14 +0100)
committerMichele Tartara <mtartara@google.com>
Mon, 22 Apr 2013 11:12:57 +0000 (11:12 +0000)
commitd634b4e06e6102afc5ee2aaab5e29ed75aefcb8b
tree953ef0e1aee25026b06c2525c8887934d681472d
parent584ea3405cab8a81ea89cceae788ae7508706b0f
Add an opcode name conversion function

Add a function to convert an opcode class name to a source string for the
reason trail, factoring out the code in common with the existing _NameToId
function.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
lib/opcodes.py