summaryrefslogtreecommitdiff
path: root/compiler/rustc_const_eval/src/const_eval/machine.rs
Commit message (Expand)AuthorAgeFilesLines
* Suppress "erroneous constant used" for constants tainted by errorsTomasz Miąsko2023-05-151-1/+1
* share BinOp::Offset between CTFE and MiriRalf Jung2023-04-281-13/+4
* Lower `intrinsics::offset` to `mir::BinOp::Offset`Scott McMurray2023-04-251-4/+13
* Remove WithOptconstParam.Camille GILLOT2023-04-201-6/+6
* Add `UnwindAction::Unreachable`Gary Guo2023-04-061-4/+4
* Refactor unwind from Option to a new enumGary Guo2023-04-061-1/+1
* A MIR transform that checks pointers are alignedBen Kimock2023-03-231-0/+6
* Detect uninhabited types early in const eval.Oli Scherer2023-03-211-2/+2
* Add a layout argument to `enforce_validity`.Oli Scherer2023-03-211-2/+2
* Use target instead of machine for mir interpreter integer handling.Oli Scherer2023-02-151-6/+6
* Replace enum `==`s with `match`es where it makes senseMaybe Waffle2023-01-301-4/+3
* Add comments and remove unnecessary codeBryan Garza2023-01-231-5/+0
* Add back Machine::before_terminator(...) methodBryan Garza2023-01-231-0/+5
* Replace terminator-based const eval limitBryan Garza2023-01-231-2/+2
* Remove debugging-related codeBryan Garza2023-01-231-1/+0
* Create stable metric to measure long computation in Const EvalBryan Garza2023-01-231-0/+1
* Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstriebbors2023-01-201-1/+1
|\
| * `rustc_const_eval`: remove `ref` patterns (+some pattern matching imps)Maybe Waffle2023-01-171-1/+1
* | Stop using `BREAK` & `CONTINUE` in compilerScott McMurray2023-01-171-4/+4
* | Remove double spaces after dots in commentsMaybe Waffle2023-01-171-1/+1
|/
* simplify alignment_check_failed a bitRalf Jung2022-12-151-14/+5
* Reuse the ctfe error emitting logic for the future incompat lintOli Scherer2022-12-151-17/+22
* Move alignment failure error reporting to machineOli Scherer2022-12-151-2/+37
* Make alignment checks a future incompat lintOli Scherer2022-12-151-3/+23
* fix dupe word typosRageking82022-12-051-1/+1
* Revert "don't call `align_offset` during const eval, ever"Lukas Markeffsky2022-11-191-90/+44
* fix const `align_offset` implementationLukas Markeffsky2022-11-191-3/+6
* replace potential ICE with graceful error (`no_core` only)Lukas Markeffsky2022-11-191-3/+2
* don't call `align_offset` during const eval, everLukas Markeffsky2022-11-191-43/+88
* make const `align_offset` usefulLukas Markeffsky2022-11-191-23/+106
* unify inherent impls of `CompileTimeEvalContext`Lukas Markeffsky2022-11-191-46/+44
* Remove allow(rustc::potential_query_instability) in rustc_const_evalCastilloDel2022-10-181-8/+8
* The `<*const T>::guaranteed_*` methods now return an option for the unknown caseOli Scherer2022-09-091-26/+23
* Make `const_eval_select` a real intrinsicDeadbeef2022-09-041-15/+1
* entirely get rid of NeedsRfc CTFE errorsRalf Jung2022-08-281-11/+5
* CTFE: exposing pointers and calling extern fn doesn't need an RFC, it is just...Ralf Jung2022-08-281-3/+5
* Rollup merge of #101038 - RalfJung:interning-alignment, r=oli-obkMatthias Krüger2022-08-281-3/+3
|\
| * no alignment check during interningRalf Jung2022-08-261-3/+3
* | make read_immediate error immediately on uninit, so ImmTy can carry initializ...Ralf Jung2022-08-261-2/+2
|/
* fix ICE with extra-const-ub-checksRalf Jung2022-08-211-2/+10
* add -Zextra-const-ub-checks to enable more UB checking in const-evalRalf Jung2022-08-071-0/+10
* rename get_global_alloc to try_get_global_allocRalf Jung2022-07-201-1/+1
* interpret: rename Tag/PointerTag to Prov/ProvenanceRalf Jung2022-07-191-3/+3
* Use constant eval to do strict validity checks52252252022-07-141-1/+1
* make a name less ambiguousRalf Jung2022-07-071-2/+2
* Add a helper function for checking whether a default function in a trait can ...Oli Scherer2022-05-301-2/+1
* Remove `#[default..]` and add `#[const_trait]`Deadbeef2022-05-301-2/+3
* Refactor call terminator to always hold a destination placeJakob Degen2022-05-231-4/+7
* Remove `crate` visibility usage in compilerJacob Pratt2022-05-201-1/+1
* Rustc changes for permissive provenancecarbotaniuman2022-05-131-1/+9