From ce31b02113ad77d24a3e5ea00220d134513a1531 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Thu, 27 Jan 2011 11:18:40 -0800 Subject: Note issue in comments. --- src/comp/middle/trans.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/comp') diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index 6246bbd1..919d97f5 100644 --- a/src/comp/middle/trans.rs +++ b/src/comp/middle/trans.rs @@ -1621,7 +1621,6 @@ fn trans_unary(@block_ctxt cx, ast.unop op, ret res(sub.bcx, cx.build.Not(sub.val)); } case (ast.neg) { - // FIXME: switch by signedness. sub = autoderef(sub.bcx, sub.val, ty.expr_ty(e)); ret res(sub.bcx, cx.build.Neg(sub.val)); } @@ -1662,7 +1661,7 @@ fn trans_eager_binop(@block_ctxt cx, ast.binop op, case (ast.add) { ret cx.build.Add(lhs, rhs); } case (ast.sub) { ret cx.build.Sub(lhs, rhs); } - // FIXME: switch by signedness. + // FIXME (issue #57): switch by signedness. case (ast.mul) { ret cx.build.Mul(lhs, rhs); } case (ast.div) { ret cx.build.SDiv(lhs, rhs); } case (ast.rem) { ret cx.build.SRem(lhs, rhs); } @@ -1679,7 +1678,7 @@ fn trans_eager_binop(@block_ctxt cx, ast.binop op, case (ast.eq) { cmp = lib.llvm.LLVMIntEQ; } case (ast.ne) { cmp = lib.llvm.LLVMIntNE; } - // FIXME: switch by signedness. + // FIXME (issue #57): switch by signedness. case (ast.lt) { cmp = lib.llvm.LLVMIntSLT; } case (ast.le) { cmp = lib.llvm.LLVMIntSLE; } case (ast.ge) { cmp = lib.llvm.LLVMIntSGE; } -- cgit v1.2.3