remove FIXME cleared up in the PR

This commit is contained in:
Oliver Schneider 2016-09-27 10:36:44 +02:00
parent 7b70f4fe2c
commit 055c1b14f7
No known key found for this signature in database
GPG Key ID: 56D6EEA0FC67AC46

View File

@ -37,7 +37,6 @@ impl<'a, 'tcx> EvalContext<'a, 'tcx> {
ty::TyRef(..) |
ty::TyRawPtr(_) => Ok(Ptr(ptr)),
ty::TyFnPtr(_) => Ok(FnPtr(ptr)),
// FIXME: can truncation happen here?
ty::TyInt(IntTy::I8) => Ok(I8(ptr.to_int()? as i8)),
ty::TyInt(IntTy::I16) => Ok(I16(ptr.to_int()? as i16)),
ty::TyInt(IntTy::I32) => Ok(I32(ptr.to_int()? as i32)),