i965: Fix assert.

This commit is contained in:
Vinson Lee 2009-12-24 22:58:05 -08:00
parent f5ad1d0d02
commit 2447786ed0
1 changed files with 1 additions and 1 deletions

View File

@ -852,7 +852,7 @@ void brw_land_fwd_jump(struct brw_compile *p,
jmpi = 2;
assert(jmp_insn->header.opcode == BRW_OPCODE_JMPI);
assert(jmp_insn->bits1.da1.src1_reg_file = BRW_IMMEDIATE_VALUE);
assert(jmp_insn->bits1.da1.src1_reg_file == BRW_IMMEDIATE_VALUE);
jmp_insn->bits3.ud = jmpi * ((landing - jmp_insn) - 1);
}