about summary refs log tree commit diff
path: root/src/librustc_mir/interpret
AgeCommit message (Expand)AuthorLines
2019-12-26Comments should start capitalized and end in a periodOliver Scherer-4/+4
2019-12-26Explain ParamEnv::reveal_all usageOliver Scherer-0/+5
2019-12-26Immediately evaluate and validate constants when we want them as operandsOliver Scherer-3/+10
2019-12-26Interning even happens when validation of a constant failsOliver Scherer-6/+12
2019-12-26Prevent an ICE on invalid transmutesOliver Scherer-6/+4
2019-12-26Comment on a few odd things that we should look atOliver Scherer-5/+4
2019-12-26Simplify `force_allocation_maybe_sized`Oliver Scherer-15/+4
2019-12-26Retire `to_ptr` which should already have no users but still kept getting new...Oliver Scherer-7/+12
2019-12-26Move `eval_const_fn_call` to the `const_eval` moduleOliver Scherer-22/+1
2019-12-24x.py fmt after previous deignoreMark Rousskov-145/+126
2019-12-24Rollup merge of #67337 - oli-obk:no_mut_static_ref_from_const, r=RalfJungMazdak Farrokhzad-11/+24
2019-12-23TidyOliver Scherer-1/+2
2019-12-23Rollup merge of #67546 - oli-obk:slice_pattern_ice, r=varkorMazdak Farrokhzad-1/+2
2019-12-23Update src/librustc_mir/interpret/intern.rsOliver Scherer-1/+1
2019-12-23Dynamically prevent constants from accessing staticsOliver Scherer-5/+8
2019-12-23Panic on mutable allocs in constantsOliver Scherer-6/+15
2019-12-23Update src/librustc_mir/interpret/place.rsOliver Scherer-1/+1
2019-12-23Fix ICE in mir interpretationOliver Scherer-1/+2
2019-12-22Format the worldMark Rousskov-1179/+1016
2019-12-22Rollup merge of #67299 - christianpoveda:try_immty_from_int, r=RalfJungMazdak Farrokhzad-0/+9
2019-12-22Rollup merge of #66877 - skinny121:const-eval-entry-points, r=oli-obkMazdak Farrokhzad-12/+5
2019-12-22Add error message if `Scalar::from_(u)int` failsChristian Poveda-2/+2
2019-12-22Add simpler entry points to const eval for common usages.Ben Lewis-12/+5
2019-12-21Change results to optionsChristian Poveda-4/+4
2019-12-21Rollup merge of #67467 - matthewjasper:test-slice-patterns, r=oli-obkMazdak Farrokhzad-4/+25
2019-12-20Don't ICE in subslice pattern const-evalMatthew Jasper-4/+25
2019-12-201. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.Mazdak Farrokhzad-28/+25
2019-12-18Add Rvalue::AddressOf to MIRMatthew Jasper-1/+1
2019-12-14add ImmTy::try_from_(u)int methodsChristian Poveda-2/+11
2019-12-13Rollup merge of #67256 - RalfJung:reduce-allocs, r=oli-obkMazdak Farrokhzad-29/+22
2019-12-12avoid more intermediate allocations in validation errorsRalf Jung-23/+16
2019-12-12validation: avoid some intermediate allocationsRalf Jung-6/+6
2019-12-12dont ICE in case of invalid drop fnRalf Jung-1/+12
2019-12-11Auto merge of #66650 - matthewjasper:nonuniform-array-move, r=pnkfelixbors-4/+10
2019-12-09Make const index and subslice array projections more usefulMatthew Jasper-4/+10
2019-12-08fix miri step debug printingRalf Jung-1/+3
2019-12-08Rollup merge of #66991 - Nashenas88:body_cache_cleanup, r=eddybMazdak Farrokhzad-1/+1
2019-12-07Auto merge of #65881 - anp:implicit-caller-location, r=eddyb,oli-obkbors-0/+16
2019-12-07Auto merge of #66927 - RalfJung:engines-dont-panic, r=oli-obkbors-8/+6
2019-12-06Address review feedback.Adam Perry-13/+6
2019-12-06Rename to `then_some` and `then`varkor-4/+4
2019-12-06Use `to_option` in various placesvarkor-4/+4
2019-12-05Implement #[track_caller] in const.Adam Perry-0/+23
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ...Paul Daniel Faria-1/+1
2019-12-04Auto merge of #66866 - oli-obk:const_fn_memoization, r=RalfJungbors-15/+4
2019-12-04Update src/librustc_mir/interpret/terminator.rsOliver Scherer-0/+1
2019-12-04Auto merge of #66275 - oli-obk:organize-intrinsics-promotion-checks, r=RalfJungbors-63/+66
2019-12-03Rollup merge of #66960 - wesleywiser:fix_66787_take2, r=oli-obk,RalfJungMazdak Farrokhzad-10/+13
2019-12-03[const-prop] Fix ICE calculating enum discriminantWesley Wiser-10/+13
2019-12-03Rollup merge of #66148 - oli-obk:it_must_be_a_sign, r=RalfJungMazdak Farrokhzad-3/+40