rust/compiler/rustc_mir/src/interpret
bors 9b32429822 Auto merge of #81327 - RalfJung:codegen-no-const-fail, r=oli-obk
codegen: assume constants cannot fail to evaluate

https://github.com/rust-lang/rust/pull/80579 landed, so we can finally remove this old hack from codegen and instead assume that consts never fail to evaluate. :)

r? `@oli-obk`
2021-01-31 07:03:09 +00:00
..
intrinsics Move binder for dyn to each list item 2020-12-11 15:02:46 -05:00
cast.rs Use ty::{IntTy,UintTy,FloatTy} in rustc 2021-01-18 21:09:30 +01:00
eval_context.rs Use Option::map_or instead of .map(..).unwrap_or(..) 2021-01-14 19:23:59 +01:00
intern.rs move interpret::MemoryKind::Heap to const eval 2020-12-03 21:42:11 +05:30
intrinsics.rs Use unsigned_abs throughout repository 2021-01-13 17:58:08 -05:00
machine.rs Auto merge of #78407 - oli-obk:ub_checkable_ctfe, r=RalfJung,pnkfelix 2021-01-12 17:26:56 +00:00
memory.rs move interpret::MemoryKind::Heap to const eval 2020-12-03 21:42:11 +05:30
mod.rs interning cleanup: we no longer need to distinguish Const and ConstInner; we no longer need the ignore_interior_mut_in_const hack 2020-10-26 08:56:54 +01:00
operand.rs codegen: assume constants cannot fail to evaluate 2021-01-30 12:29:57 +01:00
operator.rs Use ty::{IntTy,UintTy,FloatTy} in rustc 2021-01-18 21:09:30 +01:00
place.rs Inline MemPlace::offset 2021-01-27 16:13:58 +01:00
step.rs mir: Improve size_of handling when arg is unsized 2021-01-21 22:17:05 +03:00
terminator.rs Add ABI argument to find_mir_or_eval_fn 2021-01-10 15:12:50 +00:00
traits.rs Rustfmt 2020-12-11 19:28:20 +00:00
util.rs Use Option::map_or instead of .map(..).unwrap_or(..) 2021-01-14 19:23:59 +01:00
validity.rs Fix ICE with ReadPointerAsBytes validation error 2021-01-18 11:51:18 -08:00
visitor.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00