mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 13:23:02 +00:00
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:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user