| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-05-31 | Make ctpop, cttz, ctlz and bswap const fns | Linus Färnstrand | -3/+60 | |
| 2018-05-31 | Update miri submodule | Oliver Schneider | -1/+1 | |
| 2018-05-31 | ScalarPair for two element tuples was treated wrongly in closure calls | Oliver Schneider | -12/+24 | |
| 2018-05-31 | Pull a layout computation out of a loop | Oliver Schneider | -1/+4 | |
| 2018-05-31 | Don't invalidate one byte beyond the end | Oliver Schneider | -1/+1 | |
| 2018-05-31 | Don't store the discriminant with the enum's type size | Oliver Schneider | -1/+1 | |
| 2018-05-29 | Review feedback: update fixme comment to reflect reality. | Felix S. Klock II | -3/+2 | |
| 2018-05-29 | rust-lang/rust#27282: Add `StatementKind::ReadForMatch` to MIR. | Felix S. Klock II | -0/+5 | |
| (This is just the data structure changes and some boilerplate match code that followed from it; the actual emission of these statements comes in a follow-up commit.) | ||||
| 2018-05-24 | Rename `amt` variables to `shift` | Oliver Schneider | -10/+10 | |
| 2018-05-24 | Remove dead code | Oliver Schneider | -3/+0 | |
| 2018-05-24 | Remove `ty_to_primitive` | Oliver Schneider | -13/+12 | |
| 2018-05-24 | Properly check defined bits range | Oliver Schneider | -2/+2 | |
| 2018-05-24 | Replace `ScalarKind` with `Primitive` | Oliver Schneider | -76/+9 | |
| 2018-05-24 | Get rid of `scalar_size` | Oliver Schneider | -12/+13 | |
| 2018-05-24 | Update outdated comment | Oliver Schneider | -1/+1 | |
| 2018-05-24 | primval -> scalar rename | Oliver Schneider | -58/+58 | |
| 2018-05-24 | Use the destination type size instead of the source type size | Oliver Schneider | -1/+1 | |
| 2018-05-24 | Use the target types bitsize instead of the source type's | Oliver Schneider | -6/+6 | |
| 2018-05-24 | change `Value::Bytes` to `Value::Bits` | Oliver Schneider | -104/+220 | |
| 2018-05-24 | Remove Pointer::zero in favor of Pointer::from | Oliver Schneider | -9/+5 | |
| 2018-05-24 | Rename MemoryPointer to Pointer | Oliver Schneider | -48/+48 | |
| 2018-05-24 | Eliminate the `Pointer` wrapper type | Oliver Schneider | -49/+48 | |
| 2018-05-24 | Rename ByVal(Pair) to Scalar(Pair) | Oliver Schneider | -57/+57 | |
| 2018-05-24 | Rename PrimVal to Scalar | Oliver Schneider | -145/+145 | |
| 2018-05-24 | Add constant for `Size::from_bytes(0)` | Oliver Schneider | -9/+9 | |
| 2018-05-22 | Use SortedMap instead of BTreeMap for relocations in MIRI. | Michael Woerister | -21/+21 | |
| 2018-05-22 | Auto merge of #50520 - Zoxc:alloc-misc, r=oli-obk | bors | -50/+54 | |
| Misc changes related to Miri allocations This builds on top of https://github.com/rust-lang/rust/pull/50249 r? @oli-obk | ||||
| 2018-05-22 | Introduce AllocType which indicates what AllocIds point to | John Kåre Alsaker | -47/+51 | |
| 2018-05-22 | Get rid of literal_alloc_cache | John Kåre Alsaker | -3/+3 | |
| 2018-05-21 | Auto merge of #50812 - kennytm:fix-50756-miri-bad-float-behavior, r=oli-obk | bors | -7/+6 | |
| Fix issue #50811 (`NaN > NaN` was true). Fix #50811 Make sure the float comparison output is consistent with the expected behavior when NaN is involved. ---- Note: This PR is a **BREAKING CHANGE**. If you have used `>` or `>=` to compare floats, and make the result as the length of a fixed array type, like: ```rust use std::f64::NAN; let x: [u8; (NAN > NAN) as usize] = [1]; ``` then the code will no longer compile. Previously, all float comparison involving NaN will just return "Greater", i.e. `NAN > NAN` would wrongly return `true` during const evaluation. If you need to retain the old behavior (why), you may replace `a > b` with `a != a || b != b || a > b`. | ||||
| 2018-05-20 | Auto merge of #50841 - oli-obk:promote_errors_to_panics, r=eddyb | bors | -10/+2 | |
| Don't lint numeric overflows in promoteds in release mode r? @eddyb mitigates #50814 | ||||
| 2018-05-19 | Use `Size` instead of `u64` in mir interpretation | Oliver Schneider | -132/+135 | |
| 2018-05-19 | Keep statics' constant as ByRef | Oliver Schneider | -20/+44 | |
| 2018-05-19 | Go through an allocation when accessing fields of constants | Oliver Schneider | -18/+22 | |
| 2018-05-19 | Reintroduce some sanity checks | Oliver Schneider | -4/+7 | |
| 2018-05-19 | Ensure that statics are always ByRef | Oliver Schneider | -86/+59 | |
| 2018-05-19 | Release mode overflows should not cause const eval to error | Oliver Schneider | -10/+2 | |
| 2018-05-17 | Make sure the float comparison output is consistent with the expected | kennytm | -7/+6 | |
| behavior when NaN is involved. | ||||
| 2018-05-13 | Fix conversion from Miri Value to ConstValue | John Kåre Alsaker | -56/+67 | |
| 2018-05-11 | Add a query to convert from ConstValue to Allocation | John Kåre Alsaker | -10/+69 | |
| 2018-05-11 | Introduce ConstValue and use it instead of miri's Value for constant values | John Kåre Alsaker | -177/+208 | |
| 2018-05-10 | Auto merge of #50395 - Zoxc:small-tys, r=michaelwoerister | bors | -14/+19 | |
| Optimize layout of TypeVariants This makes references to `Slice` use thin pointers by storing the slice length in the slice itself. `GeneratorInterior` is replaced by storing the movability of generators in `TyGenerator` and the interior witness is stored in `GeneratorSubsts` (which is just a wrapper around `&'tcx Substs`, like `ClosureSubsts`). Finally the fields of `TypeAndMut` is stored inline in `TyRef`. These changes combine to reduce `TypeVariants` from 48 bytes to 24 bytes on x86_64. r? @michaelwoerister | ||||
| 2018-05-08 | Insert fields from TypeAndMut into TyRef to allow layout optimization | John Kåre Alsaker | -14/+19 | |
| 2018-05-08 | Fix thinning pointers to extern types in miri | Oliver Schneider | -1/+4 | |
| 2018-05-06 | issue-49938: Reference tagged unions discr(iminant) as tag | Samuel Wilson | -4/+4 | |
| Refer https://github.com/rust-lang/rust/issues/49938 Previously tagged unions' tag was refered to as a discr(iminant). Here the changes use tag instead which is the correct terminology when refering to the memory representation of tagged unions. | ||||
| 2018-05-02 | Allow unaligned reads in constants | Oliver Schneider | -3/+1 | |
| 2018-05-01 | Auto merge of #50198 - oli-obk:const_prop, r=eddyb | bors | -41/+45 | |
| Remove some unused code | ||||
| 2018-05-01 | Removed direct field usage of RangeInclusive in rustc itself. | kennytm | -3/+3 | |
| 2018-04-30 | Improve div by zero const eval errors | Oliver Schneider | -2/+6 | |
| 2018-04-30 | Unify MIR assert messages and const eval errors | Oliver Schneider | -4/+5 | |
