| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-09-10 | generalize `AscribeUserType` to handle sub or super type | Niko Matsakis | -0/+1 | |
| 2018-09-08 | Auto merge of #53903 - GabrielMajeri:opt-miri-array-slice, r=oli-obk | bors | -1/+1 | |
| Optimize miri checking of integer array/slices This pull request implements the optimization described in #53845 (the `E-easy` part of that issue, not the refactoring). Instead of checking every element of an integral array, we can check the whole memory range at once. r? @RalfJung | ||||
| 2018-09-08 | Optimize miri checking of integer array/slices | Gabriel Majeri | -1/+1 | |
| Instead of checking every element, we can check the whole memory range at once. | ||||
| 2018-09-05 | Changing TyAnon -> TyOpaque and relevant functions | ms2300 | -2/+2 | |
| 2018-08-29 | re-do argument passing one more time to finally be sane | Ralf Jung | -1/+3 | |
| 2018-08-29 | Auto merge of #53659 - nnethercote:rm-AccumulateVec, r=Mark-Simulacrum | bors | -4/+4 | |
| Remove `AccumulateVec` and its uses. It's basically just a less capable version of `SmallVec`. FWIW, the only use of `ArrayVec` is now within `HybridIdxSet`. r? @Mark-Simulacrum | ||||
| 2018-08-29 | Remove `AccumulateVec` and its uses. | Nicholas Nethercote | -4/+4 | |
| It's basically just a less capable version of `SmallVec`. | ||||
| 2018-08-28 | address nits | Ralf Jung | -1/+1 | |
| 2018-08-27 | Miri Memory Work | Ralf Jung | -2/+2 | |
| * Unify the two maps in memory to store the allocation and its kind together. * Share the handling of statics between CTFE and miri: The miri engine always uses "lazy" `AllocType::Static` when encountering a static. Acessing that static invokes CTFE (no matter the machine). The machine only has any influence when writing to a static, which CTFE outright rejects (but miri makes a copy-on-write). * Add an `AllocId` to by-ref consts so miri can use them as operands without making copies. * Move responsibilities around for the `eval_fn_call` machine hook: The hook just has to find the MIR (or entirely take care of everything); pushing the new stack frame is taken care of by the miri engine. * Expose the intrinsics and lang items implemented by CTFE so miri does not have to reimplement them. | ||||
| 2018-08-22 | Auto merge of #52011 - ↵ | bors | -1/+5 | |
| oli-obk:dont_you_hate_it_too_when_everything_panics_constantly, r=eddyb Allow panicking with string literal messages inside constants r? @eddyb cc https://github.com/rust-lang/rust/issues/51999 we can't implement things like `panic!("foo: {}", x)` right now because we can't call trait methods (most notably `Display::fmt`) inside constants. Also most of these impls probably have loops and conditions, so it's messy anyway. But hey `panic!("foo")` works at least. cc @japaric got any test ideas for `#![no_std]`? | ||||
| 2018-08-22 | Allow panicking with string literal messages inside constants | Oliver Schneider | -1/+5 | |
| 2018-08-22 | Remove Ty prefix from Ty{Bool|Char|Int|Uint|Float|Str} | varkor | -4/+4 | |
| 2018-08-22 | Remove Ty prefix from Ty{Foreign|Param} | varkor | -2/+2 | |
| 2018-08-22 | Remove Ty prefix from ↵ | varkor | -36/+36 | |
| Ty{Adt|Array|Slice|RawPtr|Ref|FnDef|FnPtr|Dynamic|Closure|Generator|GeneratorWitness|Never|Tuple|Projection|Anon|Infer|Error} | ||||
| 2018-08-22 | Rename ty::Slice to ty::List | varkor | -3/+3 | |
| 2018-07-21 | Convert implied_outlives_bounds to a query | Tyler Mandry | -0/+1 | |
| 2018-07-04 | Add an `InfiniteLoop` variant to `EvalErrorKind` | Dylan MacKenzie | -0/+1 | |
| 2018-06-30 | Added miri error for evaluating foreign statics. | Alexander Regueiro | -0/+1 | |
| Updated tests accordingly. | ||||
| 2018-06-28 | Merge `ConstVal` and `ConstValue` | Oliver Schneider | -7/+11 | |
| 2018-06-28 | Move everything over from `middle::const_val` to `mir::interpret` | Oliver Schneider | -1/+1 | |
| 2018-06-28 | Move the Lrc outside the error type and name the fields | Oliver Schneider | -4/+4 | |
| 2018-06-28 | Address review comments | Oliver Schneider | -1/+1 | |
| 2018-06-28 | Eliminate old CTFE's `ErrKind` | Oliver Schneider | -17/+5 | |
| 2018-06-05 | Remove another unused error variant | Oliver Schneider | -1/+0 | |
| 2018-06-05 | Remove unused IndexOutOfBounds variant | Oliver Schneider | -2/+0 | |
| 2018-06-05 | Properly report transitive errors | Oliver Schneider | -7/+2 | |
| 2018-05-08 | Insert fields from TypeAndMut into TyRef to allow layout optimization | John Kåre Alsaker | -3/+3 | |
| 2018-05-08 | Store the GeneratorInterior in the new GeneratorSubsts | John Kåre Alsaker | -11/+10 | |
| 2018-05-08 | Store generator movability outside GeneratorInterior | John Kåre Alsaker | -5/+9 | |
| 2018-04-30 | Unify MIR assert messages and const eval errors | Oliver Schneider | -6/+17 | |
| 2018-04-30 | Merge ConstMathError into EvalErrorKind | Oliver Schneider | -2/+4 | |
| 2018-04-30 | Remove unused const error variant | Oliver Schneider | -1/+0 | |
| 2018-04-26 | rustc_target: move in syntax::abi and flip dependency. | Irina Popa | -1/+1 | |
| 2018-04-24 | Make Binder's field private and clean up its usage | Tyler Mandry | -3/+3 | |
| 2018-04-13 | Don't abort const eval due to long running evals, just warn | Oliver Schneider | -1/+0 | |
| 2018-03-29 | Auto merge of #49313 - sgrif:sg-revert-stuff, r=nikomatsakis | bors | -24/+2 | |
| Remove universes from `ty::ParamEnv` This change was never meant to land. #48407 takes an alternate approach. However, that PR is now blocked on some issues with canonicalization, and rebasing these reverts gets harder each time, so let's just get this bit out of the way now. r? @nikomatsakis | ||||
| 2018-03-23 | Revert "introduce `UniverseIndex` into `ParamEnv`" | Sean Griffin | -24/+2 | |
| This reverts commit d4df52cacbee5d95e912a43188192a5054d36b4f. | ||||
| 2018-03-17 | Replace Rc with Lrc | John Kåre Alsaker | -1/+2 | |
| 2018-03-14 | remove defaulting to unit | Andrew Cann | -2/+2 | |
| Types will no longer default to `()`, instead always defaulting to `!`. This disables the associated warning and removes the flag from TyTuple | ||||
| 2018-03-13 | improve TypeFoldable/Lift macros and make a bunch of stuff use them | Niko Matsakis | -414/+127 | |
| Improvements: - Use Clone not Copy for the "simple cases" - Separate TypeFoldable and Lift for the "simple cases" - Support generics type parameters - Support named fields in enum variants - etc | ||||
| 2018-03-08 | Const eval will oom together with rustc now | Oliver Schneider | -5/+0 | |
| 2018-03-08 | Const eval error refactoring | Oliver Schneider | -0/+1 | |
| 2018-03-08 | Add stack traces to miri errors | Oliver Schneider | -5/+5 | |
| 2018-03-08 | Remove unused error variants and const eval types | Oliver Schneider | -12/+0 | |
| 2018-03-08 | Wrap the miri ErrorKind in an Rc to reduce work in queries | Oliver Schneider | -2/+2 | |
| 2018-03-08 | Prepare for using miri in trans | Alexander Regueiro | -1/+51 | |
| 2018-03-08 | Nuke the entire ctfe from orbit, it's the only way to be sure | Oliver Schneider | -67/+2 | |
| 2018-03-08 | Produce instead of pointers | Oliver Schneider | -0/+55 | |
| 2018-03-08 | Add miri errors to the const eval error enum | Oliver Schneider | -0/+112 | |
| 2018-03-08 | Add a variant to ConstVal for storing miri results | Oliver Schneider | -0/+2 | |
