| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-03-13 | transition various normalization functions to the new methods | Niko Matsakis | -7/+14 | |
| In particular: - `fully_normalize_monormophic_ty` => `normalize_erasing_regions` - `normalize_associated_type_in_env` => `normalize_erasing_regions` - `fully_normalize_associated_types_in` => `normalize_erasing_regions` - `erase_late_bound_regions_and_normalize` => `normalize_erasing_late_bound_regions` | ||||
| 2018-03-13 | Reuse the query caching infrastructure for const eval | Oliver Schneider | -2/+6 | |
| 2018-03-13 | refactor `ParamEnv::empty(Reveal)` into two distinct methods | Niko Matsakis | -2/+1 | |
| - `ParamEnv::empty()` -- does not reveal all, good for typeck - `ParamEnv::reveal_all()` -- does, good for trans - `param_env.with_reveal_all()` -- converts an existing parameter environment | ||||
| 2018-03-08 | Correct the shift overflow check in miri | Oliver Schneider | -1/+1 | |
| 2018-03-08 | Address review comments | Oliver Schneider | -42/+24 | |
| 2018-03-08 | Decide signdedness on the layout instead of the type | Oliver Schneider | -36/+49 | |
| 2018-03-08 | Don't use the undefined bytes of PrimVal::Bytes | Oliver Schneider | -212/+178 | |
| 2018-03-08 | Fix mozjs crater failure | Oliver Schneider | -3/+11 | |
| 2018-03-08 | Const eval will oom together with rustc now | Oliver Schneider | -17/+0 | |
| 2018-03-08 | Step limit is now terminator limit | Oliver Schneider | -2/+3 | |
| 2018-03-08 | Report tcx errors with the span of the currently evaluating statement | Oliver Schneider | -63/+39 | |
| 2018-03-08 | Report a best guess span if no stack is available anymore | Oliver Schneider | -8/+19 | |
| 2018-03-08 | Unregress error spans in constant errors | Oliver Schneider | -12/+20 | |
| 2018-03-08 | Tidy fix | Oliver Schneider | -1/+1 | |
| 2018-03-08 | Const eval error refactoring | Oliver Schneider | -84/+95 | |
| 2018-03-08 | Compute the ParamEnv only once and use it to call tcx.const_eval | Oliver Schneider | -8/+10 | |
| 2018-03-08 | Move the resource limits to the session in preparation for attributes ↵ | Oliver Schneider | -33/+12 | |
| configuring them | ||||
| 2018-03-08 | Report const eval errors at the correct span | Oliver Schneider | -3/+7 | |
| 2018-03-08 | Reduce noise in error reporting | Oliver Schneider | -1/+1 | |
| 2018-03-08 | Use Mutability enum instead of bool | Oliver Schneider | -2/+2 | |
| 2018-03-08 | Nuke ConstInt and Const*size | Oliver Schneider | -2/+2 | |
| 2018-03-08 | Destructure Rc wrapped ErrorKind in miri | Oliver Schneider | -11/+14 | |
| 2018-03-08 | Don't read from zero sized fields | Oliver Schneider | -0/+3 | |
| 2018-03-08 | Hide the RefCell inside InterpretInterner | Oliver Schneider | -22/+16 | |
| It was too easy to get this wrong | ||||
| 2018-03-08 | Don't borrow the interpret_interner for anything but a direct function call | Oliver Schneider | -3/+2 | |
| 2018-03-08 | Allow writing mutable statics in miri by adding them to the Machine | Oliver Schneider | -42/+47 | |
| 2018-03-08 | More const eval sanity checks (invalid slice fat pointers) | Oliver Schneider | -3/+10 | |
| 2018-03-08 | Additional sanity assertion | Oliver Schneider | -1/+3 | |
| 2018-03-08 | Print whether the stackframe is for a promoted | Oliver Schneider | -1/+3 | |
| 2018-03-08 | Add InterpretInterner to StableHashingContext for AllocId serialization | Oliver Schneider | -13/+18 | |
| 2018-03-08 | Evaluate 128 lowering lang items manually | Oliver Schneider | -7/+21 | |
| 2018-03-08 | Fully use miri in trans | Oliver Schneider | -467/+379 | |
| 2018-03-08 | Prepare for using miri in trans | Alexander Regueiro | -61/+48 | |
| 2018-03-08 | Nuke the entire ctfe from orbit, it's the only way to be sure | Oliver Schneider | -351/+89 | |
| 2018-03-08 | Resolve variant field access | Oliver Schneider | -3/+9 | |
| 2018-03-08 | Move librustc_const_eval to librustc_mir | Oliver Schneider | -13/+21 | |
| 2018-03-08 | Produce instead of pointers | Oliver Schneider | -60/+151 | |
| 2018-03-08 | Add a variant to ConstVal for storing miri results | Oliver Schneider | -11/+12 | |
| 2018-03-04 | Fixed #48425 | Pramod Bisht | -1/+1 | |
| 2018-03-02 | Run Rustfix on librustc_mir | Manish Goregaokar | -1/+1 | |
| 2018-02-23 | Introduce UnpackedKind | varkor | -2/+2 | |
| This adds an `UnpackedKind` type as a typesafe counterpart to `Kind`. This should make future changes to kinds (such as const generics!) more resilient, as the type-checker should catch more potential issues. | ||||
| 2018-02-17 | fix more typos found by codespell. | Matthias Krüger | -1/+1 | |
| 2018-02-11 | typo: correct endianess to endianness (this also changes function names!) | Matthias Krüger | -16/+16 | |
| 2018-02-10 | Rollup merge of #48078 - alexcrichton:fix-required-const-and-proc-macro, r=eddyb | kennytm | -0/+4 | |
| Disallow function pointers to #[rustc_args_required_const] This commit disallows acquiring a function pointer to functions tagged as `#[rustc_args_required_const]`. This is intended to be used as future-proofing for the stdsimd crate to avoid taking a function pointer to any intrinsic which has a hard requirement that one of the arguments is a constant value. Note that the first commit here isn't related specifically to this feature, but was necessary to get this working in stdsimd! | ||||
| 2018-02-08 | Disallow function pointers to #[rustc_args_required_const] | Alex Crichton | -0/+4 | |
| This commit disallows acquiring a function pointer to functions tagged as `#[rustc_args_required_const]`. This is intended to be used as future-proofing for the stdsimd crate to avoid taking a function pointer to any intrinsic which has a hard requirement that one of the arguments is a constant value. | ||||
| 2018-02-05 | mir: Add TerminatorKind::FalseUnwind | bobtwinkles | -0/+1 | |
| Sometimes a simple goto misses the cleanup/unwind edges. Specifically, in the case of infinite loops such as those introduced by a loop statement without any other out edges. Analogous to TerminatorKind::FalseEdges; this new terminator kind is used when we want borrowck to consider an unwind path, but real control flow should never actually take it. | ||||
| 2018-02-05 | Rollup merge of #47892 - Badel2:const_type_id_of, r=oli-obk | kennytm | -0/+6 | |
| Turn `type_id` into a constant intrinsic https://github.com/rust-lang/rust/issues/27745 The method `get_type_id` in `Any` is intended to support reflection. It's currently unstable in favor of using an associated constant instead. This PR makes the `type_id` intrinsic a constant intrinsic, the same as `size_of` and `align_of`, allowing `TypeId::of` to be a `const fn`, which will allow using an associated constant in `Any`. | ||||
| 2018-02-01 | Turn `type_id` into a constant intrinsic | Badel2 | -0/+6 | |
| Add rustc_const_unstable attribute for `any::TypeId::of` Add test for `const fn TypeId::of` | ||||
| 2018-02-01 | rustc: prefer ParamEnvAnd and LayoutCx over tuples for LayoutOf. | Eduard-Mihai Burtescu | -1/+1 | |
| 2018-01-29 | rustc: replace "lvalue" terminology with "place" in the code. | Eduard-Mihai Burtescu | -4/+4 | |
