summary refs log tree commit diff
path: root/src/librustc_mir/const_eval.rs
AgeCommit message (Expand)AuthorLines
2019-12-08Rollup merge of #66991 - Nashenas88:body_cache_cleanup, r=eddybMazdak Farrokhzad-2/+2
2019-12-06Always call const fns with #[track_caller].Adam Perry-2/+6
2019-12-05Generate &core::panic::Location type in a single place.Adam Perry-6/+1
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ...Paul Daniel Faria-2/+2
2019-12-04Auto merge of #66866 - oli-obk:const_fn_memoization, r=RalfJungbors-3/+15
2019-12-02Auto merge of #64736 - Nashenas88:mir_predecessors_cache_cleanup, r=oli-obkbors-2/+2
2019-12-02Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, rename...Paul Daniel Faria-2/+2
2019-12-02Simplify BodyCache impl and fix all remaining type errors in librustc_mir (li...Paul Daniel Faria-2/+2
2019-12-02fix init_allocation_extraRalf Jung-2/+2
2019-12-02make alloc_extra machine hook a bit nicerRalf Jung-3/+3
2019-12-02Miri: add helper fn to allocate string; simplify alloc_caller_locationRalf Jung-1/+1
2019-12-02expose span to M::assert_panic, and provide helper to turn that into CallerLo...Ralf Jung-0/+1
2019-12-02Miri: add machine hook for MIR-level assertion panicsRalf Jung-1/+34
2019-11-30Don't repeat the `is_const_fn_raw` checkOliver Scherer-14/+12
2019-11-30`find_fn` -> `find_mir_or_eval_fn` renameOliver Scherer-2/+2
2019-11-29Only memoize const fn calls during const evalOliver Scherer-0/+14
2019-11-28Auto merge of #66294 - davidhewitt:const_fn_memoization, r=oli-obkbors-1/+10
2019-11-27Correct typo in src/librustc_mir/const_eval.rsDavid Hewitt-1/+1
2019-11-27Add memoization for const function evaluationsDavid Hewitt-1/+10
2019-11-26Fix spelling typosBrian Wignall-1/+1
2019-11-25miri: couple ret place and ret block together (they both exist or both don't)Ralf Jung-9/+6
2019-11-25refactor goto_block and also add unwind_to_blockRalf Jung-1/+1
2019-11-14Auto merge of #66233 - cjgillot:constkind, r=oli-obkbors-4/+4
2019-11-12Rename in librustc_mir.Camille GILLOT-4/+4
2019-11-11Rename toAaron Hill-1/+1
2019-11-11Remove trampoline, pass `ret` and `unwind` when handling intrinsicsAaron Hill-0/+2
2019-11-11Some cleanupAaron Hill-11/+1
2019-11-11A few minor tweaksAaron Hill-1/+2
2019-11-11Formatting improvementsAaron Hill-1/+2
2019-11-11Add hooks for Miri panic unwindingAaron Hill-4/+7
2019-11-08miri: Rename to_{u,i}size to to_machine_{u,i}sizeRalf Jung-1/+1
2019-10-27Always use consteval to codegen caller_location.Adam Perry-6/+2
2019-10-27Implementation of const caller_location.Adam Perry-1/+2
2019-10-27Implement core::intrinsics::caller_location.Adam Perry-0/+23
2019-09-27Introduce a `ConstPropMachine`Wesley Wiser-5/+5
2019-09-25Fix rebasevarkor-1/+1
2019-09-25Rename `sty` to `kind`varkor-2/+2
2019-09-17Get rid of special const intrinsic query in favour of `const_eval`Oliver Scherer-0/+18
2019-09-15drop redundant ParamEnv, and avoid constructing InternVisitor without visitingRalf Jung-4/+2
2019-09-14Rollup merge of #64116 - ZeGentzy:patch-1, r=oli-obkMazdak Farrokhzad-1/+1
2019-09-11Avoid two `Symbol::as_str()` calls.Nicholas Nethercote-1/+1
2019-09-06Fixed grammar/style in error messages and reblessed tests.Alexander Regueiro-2/+2
2019-09-03Fix minor typo in docs.Hal Gentz-1/+1
2019-08-27const_prop: only call error_to_const_error if we are actually showing somethingRalf Jung-0/+3
2019-08-22Remove eval_promoted const-prop hackWesley Wiser-20/+3
2019-08-22Move promoted out of mir::BodyWesley Wiser-1/+1
2019-08-17make both unary_op and binary_op fully typed, including a return typeRalf Jung-3/+2
2019-08-14Rollup merge of #62760 - chansuke:dedupe-error-messages, r=zackmdavisMazdak Farrokhzad-4/+7
2019-08-05Auto merge of #63079 - RalfJung:ctfe-no-align, r=oli-obkbors-4/+7
2019-08-03Auto merge of #63234 - Centril:rollup-h9t731z, r=Centrilbors-8/+8