summaryrefslogtreecommitdiffstats
path: root/src/intel/tools/disasm.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-08-30 09:53:35 +1000
committerTimothy Arceri <[email protected]>2016-08-31 10:19:45 +1000
commit64a48efb9e81c43741f8f8a49bbc546322010b2d (patch)
treeb936e52a7c18d1092c7eb0f847d3d52955935d79 /src/intel/tools/disasm.c
parent6df215d97eab6e18a8c70c9966014f6ab2bbc20a (diff)
aubinator: fix if indentation and add brackets to multiline body
Fixes misleading indentation warning in gcc. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/tools/disasm.c')
-rw-r--r--src/intel/tools/disasm.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/intel/tools/disasm.c b/src/intel/tools/disasm.c
index a1cb19197cf..fcb61c44acb 100644
--- a/src/intel/tools/disasm.c
+++ b/src/intel/tools/disasm.c
@@ -75,12 +75,13 @@ gen_disasm_disassemble(struct gen_disasm *disasm, void *assembly, int start,
/* Simplistic, but efficient way to terminate disasm */
if (brw_inst_opcode(devinfo, insn) == BRW_OPCODE_SEND ||
- brw_inst_opcode(devinfo, insn) == BRW_OPCODE_SENDC)
+ brw_inst_opcode(devinfo, insn) == BRW_OPCODE_SENDC) {
if (brw_inst_eot(devinfo, insn))
break;
- if (brw_inst_opcode(devinfo, insn) == 0)
- break;
+ }
+ if (brw_inst_opcode(devinfo, insn) == 0)
+ break;
}
}