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>
This commit is contained in:
Damien Lespiau
2013-01-30 12:31:45 +00:00
parent 888b2dcae6
commit d008064b3e
4 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -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)