summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/interpret
AgeCommit message (Expand)AuthorLines
2021-05-03Remove assert_matches usersMark Rousskov-1/+1
2021-03-18Remove unwrap_none/expect_none from compiler/.Mara Bos-1/+1
2021-03-15Do not expose fallible `to_int` operation on `Scalar`.Oli Scherer-17/+15
2021-03-15s/ConstantSource/ConstantKind/Oli Scherer-8/+0
2021-03-12Replace a custom lift method with a Lift implOli Scherer-3/+6
2021-03-12Prepare mir::Constant for ty::Const only supporting valtreesOli Scherer-0/+18
2021-03-12Add convenience conversion methods for ScalarIntOli Scherer-8/+23
2021-03-12Add fallible Scalar to ScalarInt conversion methodOli Scherer-13/+15
2021-03-12Implement valtreeOli Scherer-1/+1
2021-03-06Change x64 size checks to not apply to x32.Harald van Dijk-5/+5
2021-02-25Auto merge of #82338 - RalfJung:interp-error-allocs, r=oli-obkbors-15/+10
2021-02-21remove redundant return value Ok(()) of clear_relocations()Matthias Krüger-10/+3
2021-02-20all InterpError allocate now, so adjust alloc-error-checkRalf Jung-15/+10
2021-02-17Reduce size of InterpErrorInfo to 8 bytesTomasz Miąsko-6/+22
2021-02-14param_env debugs are instrumental to rustc's successEllen-1/+1
2021-02-13debug!("paramenv={}paramenv={}paramenv={}paramenv={}")Ellen-0/+1
2021-02-02Fix out of date `Scalar` documentationJake Hughes-1/+1
2021-01-30Rollup merge of #80959 - jhpratt:unsigned_abs-stabilization, r=m-ou-seYuki Okushi-11/+2
2021-01-26Auto merge of #80692 - Aaron1011:feature/query-result-debug, r=estebankbors-1/+1
2021-01-21mir: Improve size_of handling when arg is unsizedÖmer Sinan Ağacan-0/+3
2021-01-16Enforce that query results implement DebugAaron Hill-1/+1
2021-01-13Use unsigned_abs throughout repositoryJacob Pratt-11/+2
2020-12-09Extra assertions in eval_body_using_ecx to disallow queries forTunahan Karlibas-1/+0
2020-11-16wordslcnr-1/+1
2020-11-16compiler: fold by valueBastian Kauschke-1/+1
2020-11-05Rollup merge of #78742 - vn-ki:fix-issue-78655, r=oli-obkMara Bos-3/+9
2020-11-04make intern_const_alloc_recursive return error fix #78655Vishnunarayan K I-3/+9
2020-11-04`u128` truncation and sign extension are not just interpreter relatedoli-37/+4
2020-11-04Move ZST constant to the top of the impl blockoli-2/+2
2020-11-04Do not raise interp errors from the scalar int moduleoli-2/+8
2020-11-04Add helper for getting an `int` out of a `Scalar`oli-0/+8
2020-11-04Replace `Scalar::zst` with a `Scalar::ZST` constantoli-4/+1
2020-11-04No need for a `zst` constructor method when we can have a constantoli-1/+1
2020-11-04s/Scalar::Raw/Scalar::Intoli-22/+22
2020-11-04Split the "raw integer bytes" part out of `Scalar`Oliver Scherer-87/+22
2020-10-14Remove unused code from rustc_middleest31-9/+0
2020-10-13Replace absolute paths with relative onesest31-3/+3
2020-10-06Rollup merge of #76995 - LingMan:middle_matches, r=varkorYuki Okushi-12/+6
2020-09-24Auto merge of #77006 - oli-obk:🐌_const_queries, r=Mark-Simulacrumbors-1/+1
2020-09-23Rollup merge of #76939 - lcnr:const-evaluatable-cont, r=oli-obkDylan DPC-0/+6
2020-09-21reviewBastian Kauschke-0/+6
2020-09-21Cache `eval_to_allocation_raw` on diskOliver Scherer-1/+1
2020-09-21Reduce boilerplate with the matches! macroLingMan-12/+6
2020-09-20Rollup merge of #76891 - lcnr:less-ref, r=ecstatic-morseRalf Jung-9/+9
2020-09-20Auto merge of #74949 - oli-obk:validate_const_eval_raw, r=RalfJungbors-17/+17
2020-09-19Reflect the "do not call this query directly" mentality in its nameOliver Scherer-2/+2
2020-09-19Address review commentsOliver Scherer-4/+4
2020-09-19Unify the names of const eval queries and their return typesOliver Scherer-14/+14
2020-09-19Rename const eval queries to reflect the validation changesOliver Scherer-3/+3
2020-09-18don't take `TyCtxt` by referenceBastian Kauschke-9/+9