diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-02-11 21:26:49 -0500 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-02-11 21:26:49 -0500 |
commit | 8f2e096275386cbd6744c4bd65190dba1c5b89b4 (patch) | |
tree | fe00acb419193228dff84b8bfb4524e96277df0d /arch/sparc/isa | |
parent | 3cc6c59582a0de71a7a7c8696f503388a7447acf (diff) | |
download | gem5-8f2e096275386cbd6744c4bd65190dba1c5b89b4.tar.xz |
Minor cleanup of operand type and traits code in isa_parser.py.
arch/isa_parser.py:
Minor cleanup of operand type and traits code:
- build operand size map right away when types are defined
instead of waiting to do it lazily
- check that operand types have been defined before operands
- don't use 'type' as a variable name
- use isinstance() instead of checking for types directly
--HG--
extra : convert_revision : 099c1ee8d490f9c38316749bf87209388c55c971
Diffstat (limited to 'arch/sparc/isa')
0 files changed, 0 insertions, 0 deletions