diff options
| author | Mark-Simulacrum <mark.simulacrum@gmail.com> | 2016-12-15 18:01:51 -0700 |
|---|---|---|
| committer | Mark Simulacrum <mark.simulacrum@gmail.com> | 2016-12-20 20:02:52 -0700 |
| commit | 5bdcc22b79a6080ff9a66f390160f987b8b5469a (patch) | |
| tree | 59fe1f4b340165f8c87907eaa38191bec77ffde7 /src | |
| parent | dda6c8cf2f035d23ff3f67c5fc0e805bb18cd0a4 (diff) | |
| download | rust-5bdcc22b79a6080ff9a66f390160f987b8b5469a.tar.gz rust-5bdcc22b79a6080ff9a66f390160f987b8b5469a.zip | |
Remove FIXME
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_trans/intrinsic.rs | 1 | ||||
| -rw-r--r-- | src/librustc_trans/mir/block.rs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_trans/intrinsic.rs b/src/librustc_trans/intrinsic.rs index 9be505556c5..b70a1d119de 100644 --- a/src/librustc_trans/intrinsic.rs +++ b/src/librustc_trans/intrinsic.rs @@ -119,7 +119,6 @@ pub fn trans_intrinsic_call<'a, 'blk, 'tcx>(bcx: &BlockAndBuilder<'blk, 'tcx>, bcx.call(llfn, &[], None); return; } else if name == "unreachable" { - // FIXME: do nothing? return; } diff --git a/src/librustc_trans/mir/block.rs b/src/librustc_trans/mir/block.rs index 3fa88c8706d..d76385b8bfe 100644 --- a/src/librustc_trans/mir/block.rs +++ b/src/librustc_trans/mir/block.rs @@ -468,7 +468,7 @@ impl<'bcx, 'tcx> MirContext<'bcx, 'tcx> { return; } - let ptr = self.trans_operand(&bcx, &args[0]); + let ptr = self.trans_operand(&bcx, &args[0]); let (llval, llextra) = match ptr.val { Immediate(llptr) => (llptr, ptr::null_mut()), Pair(llptr, llextra) => (llptr, llextra), |
