summary refs log tree commit diff
path: root/src/librustc_mir/const_eval.rs
AgeCommit message (Expand)AuthorLines
2018-10-04do not normalize non-scalar constants to a ConstValue::ScalarPairRalf Jung-2/+12
2018-09-09miri loop detector hashing: fix enum hashing to also consider discriminant; d...Ralf Jung-0/+1
2018-09-07make field always private, add `From` implsNiko Matsakis-1/+1
2018-09-03Implement Hash in terms of HashStable for EvalSnapshotBruno Dutra-0/+2
2018-08-29make ptr_op finally reponsible for all ops involving pointers; make ValTy con...Ralf Jung-11/+7
2018-08-28first test const-ness, then hook fn callRalf Jung-4/+6
2018-08-27use associated const for machine controlling mutable staticsRalf Jung-22/+4
2018-08-27fix handling of unsized types in validation; validate str to be UTF-8Ralf Jung-2/+2
2018-08-27validate enum discriminant whenever it is readRalf Jung-1/+1
2018-08-27get rid of FinishStatic hack from stack clenaup; const_eval can do that itselfRalf Jung-9/+11
2018-08-27move const_eval out of rustc_mir::interpretRalf Jung-0/+463