summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-02-13 18:29:29 +0000
committerKeith Whitwell <[email protected]>2008-02-13 18:29:29 +0000
commita856b399e6a46f2026006402bc6b9125bd23f9a9 (patch)
tree5230e0b494b53f258b7e5006af44c2e0cfb5b303
parent66640c4b589db7b6b5edce7d297ae6623bfda9c1 (diff)
x86: fix assignment in assert typo
-rw-r--r--src/mesa/x86/rtasm/x86sse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/x86/rtasm/x86sse.c b/src/mesa/x86/rtasm/x86sse.c
index 1111e8db990..39c0e9b851a 100644
--- a/src/mesa/x86/rtasm/x86sse.c
+++ b/src/mesa/x86/rtasm/x86sse.c
@@ -820,7 +820,7 @@ static void x87_arith_op( struct x86_function *p, struct x86_reg dst, struct x86
assert(0);
}
else if (dst.idx == 0) {
- assert(arg.file = file_REG32);
+ assert(arg.file == file_REG32);
emit_1ub(p, 0xd8);
emit_modrm_noreg(p, argmem_noreg, arg);
}