From d008064b3ef6a85181a61e97f51a9b4c9319ddc8 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Wed, 30 Jan 2013 12:31:45 +0000 Subject: 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 --- assembler/gen4asm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assembler/gen4asm.h') 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) -- cgit v1.2.3