diff options
| author | Graydon Hoare <[email protected]> | 2011-01-27 11:18:40 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-01-27 11:18:40 -0800 |
| commit | ce31b02113ad77d24a3e5ea00220d134513a1531 (patch) | |
| tree | 34b84c79f9ee1d95d20ad98636646c2a142d387b /src | |
| parent | Update various README files in the tree. (diff) | |
| download | rust-ce31b02113ad77d24a3e5ea00220d134513a1531.tar.xz rust-ce31b02113ad77d24a3e5ea00220d134513a1531.zip | |
Note issue in comments.
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp/middle/trans.rs | 5 |
1 files changed, 2 insertions, 3 deletions
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; } |