| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-08-26 | inline stuff | lcnr | -0/+4 | |
| 2021-08-26 | shrink `ty::PredicateKind` again | lcnr | -5/+24 | |
| 2021-08-26 | use `ty::Unevaluated` instead of def substs pair | lcnr | -1/+1 | |
| 2021-08-26 | update `TypeFlags` to deal with missing ct substs | lcnr | -0/+6 | |
| 2021-08-26 | make unevaluated const substs optional | lcnr | -11/+27 | |
| 2021-07-15 | adjustions and cleanup to make Miri build again | Ralf Jung | -10/+1 | |
| 2021-07-14 | CTFE/Miri engine Pointer type overhaul: make Scalar-to-Pointer conversion ↵ | Ralf Jung | -3/+2 | |
| infallible This resolves all the problems we had around "normalizing" the representation of a Scalar in case it carries a Pointer value: we can just use Pointer if we want to have a value taht we are sure is already normalized. | ||||
| 2021-03-20 | update `const_eval_resolve` | lcnr | -1/+2 | |
| 2021-03-20 | extract `ConstKind::Unevaluated` into a struct | lcnr | -4/+12 | |
| 2021-03-16 | Update compiler/rustc_middle/src/ty/consts/valtree.rs | Oli Scherer | -1/+1 | |
| Co-authored-by: Ralf Jung <post@ralfj.de> | ||||
| 2021-03-16 | Update compiler/rustc_middle/src/ty/consts/valtree.rs | Oli Scherer | -1/+2 | |
| Co-authored-by: Ralf Jung <post@ralfj.de> | ||||
| 2021-03-15 | Pacify tidy | Oli Scherer | -1/+1 | |
| 2021-03-15 | Do not expose fallible `to_int` operation on `Scalar`. | Oli Scherer | -1/+1 | |
| Any use of it has been shown to be a bug in the past. | ||||
| 2021-03-15 | Document valtree | Oli Scherer | -0/+18 | |
| 2021-03-12 | Add convenience conversion methods for ScalarInt | Oli Scherer | -2/+30 | |
| 2021-03-12 | Intern valtree field vector | Oli Scherer | -5/+5 | |
| 2021-03-12 | Implement valtree | Oli Scherer | -0/+15 | |
| valtree is a version of constants that is inherently safe to be used within types. This is in contrast to ty::Const which can have different representations of the same value. These representation differences can show up in hashing or equality comparisons, breaking type equality of otherwise equal types. valtrees do not have this problem. | ||||
| 2021-03-06 | Change x64 size checks to not apply to x32. | Harald van Dijk | -1/+1 | |
| Rust contains various size checks conditional on target_arch = "x86_64", but these checks were never intended to apply to x86_64-unknown-linux-gnux32. Add target_pointer_width = "64" to the conditions. | ||||
| 2021-01-14 | Use Option::map_or instead of `.map(..).unwrap_or(..)` | LingMan | -1/+1 | |
| 2020-11-16 | compiler: fold by value | Bastian Kauschke | -2/+2 | |
| 2020-11-13 | Rollup merge of #78463 - varkor:placeholder-const, r=nikomatsakis | Guillaume Gomez | -1/+1 | |
| Add type to `ConstKind::Placeholder` I simply threaded `<'tcx>` through everything that required it. I'm not sure whether this is the correct thing to do, but it seems to work. r? `@nikomatsakis` | ||||
| 2020-11-12 | Add type to `ConstKind::Placeholder` | varkor | -1/+1 | |
| 2020-11-09 | comment attribution fix | o752d | -1/+1 | |
| comment means to refer to the macro in its direct scope | ||||
| 2020-11-04 | Make `ScalarInt` entirely independent of MIR interpretation | oli | -4/+3 | |
| 2020-11-04 | Document an `unwrap` | oli | -1/+4 | |
| 2020-11-04 | `u128` truncation and sign extension are not just interpreter related | oli | -6/+6 | |
| 2020-11-04 | Update compiler/rustc_middle/src/ty/consts/int.rs | Oli Scherer | -1/+1 | |
| Co-authored-by: Ralf Jung <post@ralfj.de> | ||||
| 2020-11-04 | Simplify `assert_bits` impl | oli | -4/+3 | |
| 2020-11-04 | Do not raise interp errors from the scalar int module | oli | -18/+15 | |
| 2020-11-04 | Add `is_null` helper | oli | -0/+5 | |
| This is cheaper than creating a null-`ScalarInt` and comparing and then just throwing it away. | ||||
| 2020-11-04 | Explain why we forward to self-printing during self-printing | oli | -1/+2 | |
| 2020-11-04 | catch conversion errors during `ptr_sized_op` | oli | -1/+1 | |
| 2020-11-04 | No need for a `zst` constructor method when we can have a constant | oli | -5/+0 | |
| 2020-11-04 | Update comment | oli | -3/+2 | |
| 2020-11-04 | Unaligned reads are UB in Rust irrelevant on which platform we are | oli | -4/+4 | |
| 2020-11-04 | Remove outdated FIXME | oli | -1/+0 | |
| 2020-11-04 | Fix cranelift build | oli | -0/+14 | |
| 2020-11-04 | Explain the use of blocks around `self.data` accesses | oli | -0/+14 | |
| 2020-11-04 | Use packed struct instead of manually packing into an array | oli | -33/+34 | |
| 2020-11-04 | Encode `ScalarInt::bytes` as `u128` instead of `[u8; 16]` to see if that ↵ | Oliver Scherer | -1/+15 | |
| caused the performance regression | ||||
| 2020-11-04 | Split the "raw integer bytes" part out of `Scalar` | Oliver Scherer | -12/+227 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+250 | |
