diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-01-30 12:31:45 +0000 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-03-04 15:54:41 +0000 |
commit | d008064b3ef6a85181a61e97f51a9b4c9319ddc8 (patch) | |
tree | 842ddfbb7e7dedf5ff32cafdab2ce8abd99ed1a8 /assembler/gen4asm.h | |
parent | 888b2dcae60cb2db0eb95adddfd894f58dc6dc89 (diff) |
assembler: Renamed the instruction field to insn
This will be less typing for the refactoring to come (which is use
struct brw_program_instruction in gram.y for the type of all the
instructions).
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'assembler/gen4asm.h')
-rw-r--r-- | assembler/gen4asm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/assembler/gen4asm.h b/assembler/gen4asm.h index 332c8b9e..0781eaf4 100644 --- a/assembler/gen4asm.h +++ b/assembler/gen4asm.h @@ -143,7 +143,7 @@ struct brw_program_instruction { struct brw_instruction gen; struct relocatable_instruction reloc; struct label_instruction label; - } instruction; + } insn; struct brw_program_instruction *next; }; @@ -155,7 +155,7 @@ static inline bool is_label(struct brw_program_instruction *instruction) static inline char *label_name(struct brw_program_instruction *i) { assert(is_label(i)); - return i->instruction.label.name; + return i->insn.label.name; } static inline bool is_relocatable(struct brw_program_instruction *intruction) |