about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/const_eval/machine.rs
AgeCommit message (Expand)AuthorLines
2023-03-23A MIR transform that checks pointers are alignedBen Kimock-0/+6
2023-03-21Detect uninhabited types early in const eval.Oli Scherer-2/+2
2023-03-21Add a layout argument to `enforce_validity`.Oli Scherer-2/+2
2023-02-15Use target instead of machine for mir interpreter integer handling.Oli Scherer-6/+6
2023-01-30Replace enum `==`s with `match`es where it makes senseMaybe Waffle-4/+3
2023-01-23Add comments and remove unnecessary codeBryan Garza-5/+0
2023-01-23Add back Machine::before_terminator(...) methodBryan Garza-0/+5
2023-01-23Replace terminator-based const eval limitBryan Garza-2/+2
2023-01-23Remove debugging-related codeBryan Garza-1/+0
2023-01-23Create stable metric to measure long computation in Const EvalBryan Garza-0/+1
2023-01-20Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstriebbors-1/+1
2023-01-17Stop using `BREAK` & `CONTINUE` in compilerScott McMurray-4/+4
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-1/+1
2023-01-17`rustc_const_eval`: remove `ref` patterns (+some pattern matching imps)Maybe Waffle-1/+1
2022-12-15simplify alignment_check_failed a bitRalf Jung-14/+5
2022-12-15Reuse the ctfe error emitting logic for the future incompat lintOli Scherer-17/+22
2022-12-15Move alignment failure error reporting to machineOli Scherer-2/+37
2022-12-15Make alignment checks a future incompat lintOli Scherer-3/+23
2022-12-05fix dupe word typosRageking8-1/+1
2022-11-19Revert "don't call `align_offset` during const eval, ever"Lukas Markeffsky-90/+44
2022-11-19fix const `align_offset` implementationLukas Markeffsky-3/+6
2022-11-19replace potential ICE with graceful error (`no_core` only)Lukas Markeffsky-3/+2
2022-11-19don't call `align_offset` during const eval, everLukas Markeffsky-43/+88
2022-11-19make const `align_offset` usefulLukas Markeffsky-23/+106
2022-11-19unify inherent impls of `CompileTimeEvalContext`Lukas Markeffsky-46/+44
2022-10-18Remove allow(rustc::potential_query_instability) in rustc_const_evalCastilloDel-8/+8
2022-09-09The `<*const T>::guaranteed_*` methods now return an option for the unknown caseOli Scherer-26/+23
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-15/+1
2022-08-28entirely get rid of NeedsRfc CTFE errorsRalf Jung-11/+5
2022-08-28CTFE: exposing pointers and calling extern fn doesn't need an RFC, it is just...Ralf Jung-3/+5
2022-08-28Rollup merge of #101038 - RalfJung:interning-alignment, r=oli-obkMatthias Krüger-3/+3
2022-08-26make read_immediate error immediately on uninit, so ImmTy can carry initializ...Ralf Jung-2/+2
2022-08-26no alignment check during interningRalf Jung-3/+3
2022-08-21fix ICE with extra-const-ub-checksRalf Jung-2/+10
2022-08-07add -Zextra-const-ub-checks to enable more UB checking in const-evalRalf Jung-0/+10
2022-07-20rename get_global_alloc to try_get_global_allocRalf Jung-1/+1
2022-07-19interpret: rename Tag/PointerTag to Prov/ProvenanceRalf Jung-3/+3
2022-07-14Use constant eval to do strict validity checks5225225-1/+1
2022-07-07make a name less ambiguousRalf Jung-2/+2
2022-05-30Add a helper function for checking whether a default function in a trait can ...Oli Scherer-2/+1
2022-05-30Remove `#[default..]` and add `#[const_trait]`Deadbeef-2/+3
2022-05-23Refactor call terminator to always hold a destination placeJakob Degen-4/+7
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-05-13Rustc changes for permissive provenancecarbotaniuman-1/+9
2022-04-07interpret: err instead of ICE on size mismatches in to_bits_or_ptr_internalRalf Jung-9/+9
2022-04-05interp: pass TyCtxt to Machine methods that do not take InterpCxRalf Jung-1/+2
2022-04-03tweak some function namesRalf Jung-1/+1
2022-04-03interpret: remove MemoryExtra in favor of giving access to the MachineRalf Jung-12/+11
2022-03-16rustc_error: make ErrorReported impossible to constructmark-3/+2
2022-03-07Introduce `ConstAllocation`.Nicholas Nethercote-5/+6