| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-10-27 | Panicking infra uses &core::panic::Location. | Adam Perry | -10/+11 | |
| This allows us to remove `static_panic_msg` from the SSA<->LLVM boundary, along with its fat pointer representation for &str. Also changes the signature of PanicInfo::internal_contructor to avoid copying. Closes #65856. | ||||
| 2019-10-25 | Don't cast directly from `&[T; N]` to `*const T` | Matthew Jasper | -1/+3 | |
| Instead coerce to `*const [T; N]` and then cast. | ||||
| 2019-10-23 | Rollup merge of #65704 - RalfJung:exact-size, r=oli-obk | Mazdak Farrokhzad | -3/+4 | |
| relax ExactSizeIterator bound on write_bytes Too many iterators don't have that bound. Instead we do run-time checks. r? @oli-obk | ||||
| 2019-10-23 | Rollup merge of #65657 - nnethercote:rm-InternedString-properly, r=eddyb | Mazdak Farrokhzad | -1/+1 | |
| Remove `InternedString` This PR removes `InternedString` by converting all occurrences to `Symbol`. There are a handful of places that need to use the symbol chars instead of the symbol index, e.g. for stable sorting; local conversions `LocalInternedString` is used in those places. r? @eddyb | ||||
| 2019-10-22 | relax ExactSizeIterator bound on write_bytes: too many iterators don't have ↵ | Ralf Jung | -3/+4 | |
| that bound | ||||
| 2019-10-22 | add comments | Ralf Jung | -2/+2 | |
| 2019-10-22 | bring back some Debug instances for Miri | Ralf Jung | -2/+2 | |
| 2019-10-21 | Rollup merge of #65660 - varkor:canonical-const-to-bound-const, r=eddyb | Mazdak Farrokhzad | -2/+2 | |
| Rename `ConstValue::Infer(InferConst::Canonical(..))` to `ConstValue::Bound(..)` It already has the right form, so this is just a renaming. Fixes https://github.com/rust-lang/rust/issues/65655. r? @eddyb | ||||
| 2019-10-21 | Rollup merge of #65647 - nnethercote:rm-unnecessary-traits, r=Centril | Mazdak Farrokhzad | -6/+6 | |
| Remove unnecessary trait bounds and derivations This PR removes unnecessary trait bounds and derivations from many types. r? @nikomatsakis | ||||
| 2019-10-21 | Rename `ConstValue::Infer(InferConst::Canonical(..))` to `ConstValue::Bound(..)` | varkor | -2/+2 | |
| 2019-10-21 | Remove many unnecessary trait derivations. | Nicholas Nethercote | -6/+6 | |
| 2019-10-21 | Convert fields within `DefPathData` from `InternedString` to `Symbol`. | Nicholas Nethercote | -1/+1 | |
| It's a full conversion, except in `DefKey::compute_stable_hash()` where a `Symbol` now is converted to an `InternedString` before being hashed. This was necessary to avoid test failures. | ||||
| 2019-10-20 | miri add write_bytes method to Memory doing bounds-checks and supporting ↵ | Ralf Jung | -1/+20 | |
| iterators | ||||
| 2019-10-18 | Don't ICE when evaluating writes to uninhabited enum variants | Wesley Wiser | -10/+16 | |
| 2019-10-18 | Review nit | Oliver Scherer | -1/+1 | |
| Co-Authored-By: Ralf Jung <post@ralfj.de> | ||||
| 2019-10-18 | Adjust const eval code to reflect `offset_from` docs | Oliver Scherer | -6/+1 | |
| 2019-10-17 | Rollup merge of #65319 - RalfJung:memory, r=Centril | Mazdak Farrokhzad | -17/+6 | |
| InterpCx: make memory field public I made this field private forever ago because I thought sealing things might be nice. But with the `memory_mut` getter it doesn't actually seal anything, and it's not like we need to invalidate caches on writes to memory or so. And moreover, having to use the getters leads to some annoying borrow checking interactions. So, let's just make it public (again). r? @oli-obk | ||||
| 2019-10-14 | Auto merge of #64987 - oli-obk:code_reuse_prevents_bugs, r=eddyb | bors | -8/+5 | |
| Compute the layout of uninhabited structs fixes #64506 r? @eddyb | ||||
| 2019-10-11 | InterpCx: make memory field public | Ralf Jung | -17/+6 | |
| 2019-10-11 | Make <*const/mut T>::offset_from `const fn` | Oliver Scherer | -1/+55 | |
| 2019-10-09 | miri calls resolve_for_fn_ptr when reifying. | Adam Perry | -1/+8 | |
| 2019-10-09 | Add InstanceDef::ReifyShim for track_caller functions. | Adam Perry | -0/+1 | |
| 2019-10-05 | Rollup merge of #65100 - csmoe:generator, r=nikomatsakis | Tyler Mandry | -6/+9 | |
| Replace GeneratorSubsts with SubstsRef Closes #42340 r? @nikomatsakis | ||||
| 2019-10-05 | Rollup merge of #65066 - ↵ | Tyler Mandry | -0/+7 | |
| wesleywiser:fix_const_prop_ice_on_polymorphic_promoted_mir, r=oli-obk [const-prop] Fix ICE when trying to eval polymorphic promoted MIR Fixes #64908 r? @oli-obk cc @nikomatsakis @pnkfelix | ||||
| 2019-10-04 | [const-prop] Fix ICE when trying to eval polymorphic promoted MIR | Wesley Wiser | -0/+7 | |
| 2019-10-04 | clean up GeneratorSubsts | csmoe | -6/+9 | |
| 2019-10-04 | Rollup merge of #64817 - csmoe:closure, r=nikomatsakis | Mazdak Farrokhzad | -1/+1 | |
| Replace ClosureSubsts with SubstsRef Addresses https://github.com/rust-lang/rust/issues/42340 part 3 https://github.com/rust-lang/rust/pull/59312 might benefit from this clean up. r? @nikomatsakis | ||||
| 2019-10-03 | generate ClosureSubsts from SubstsRef | csmoe | -1/+1 | |
| 2019-10-02 | Compute the layout of uninhabited structs | Oliver Scherer | -8/+5 | |
| 2019-09-29 | remove indexed_vec re-export from rustc_data_structures | csmoe | -2/+2 | |
| 2019-09-29 | remove ClosureSubsts with SubstsRef | csmoe | -2/+2 | |
| 2019-09-29 | Rollup merge of #64824 - Mark-Simulacrum:no-stable-hasher-result-everywhere, ↵ | Mazdak Farrokhzad | -4/+4 | |
| r=michaelwoerister No StableHasherResult everywhere This removes the generic parameter on `StableHasher`, instead moving it to the call to `finish`. This has the side-effect of making all `HashStable` impls nicer, since we no longer need the verbose `<W: StableHasherResult>` that previously existed -- often forcing line wrapping. This is done for two reasons: * we should avoid false "generic" dependency on the result of StableHasher * we don't need to codegen two/three copies of all the HashStable impls when they're transitively used to produce a fingerprint, u64, or u128. I haven't measured, but this might actually make our artifacts somewhat smaller too. * Easier to understand/read/write code -- the result of the stable hasher is irrelevant when writing a hash impl. | ||||
| 2019-09-28 | Auto merge of #64419 - wesleywiser:const_prop_use_ecx, r=oli-obk | bors | -4/+27 | |
| Deduplicate some code between miri and const prop r? @oli-obk | ||||
| 2019-09-28 | Switch over all StableHash impls to new format | Mark Rousskov | -4/+4 | |
| 2019-09-28 | Allow reading non-mutable statics in const prop | Wesley Wiser | -6/+5 | |
| 2019-09-27 | Introduce a `ConstPropMachine` | Wesley Wiser | -12/+22 | |
| This allows us to avoid changing things directly in the miri engine just for const prop. | ||||
| 2019-09-27 | Work around for #64506 | Wesley Wiser | -1/+5 | |
| 2019-09-27 | Move Ref-from-arg checking from `step.rs` to `const_prop.rs` | Wesley Wiser | -19/+2 | |
| 2019-09-27 | Respond to code review feedback and fix tidy | Wesley Wiser | -2/+4 | |
| 2019-09-27 | [const-prop] Replace `Ref` handling with use of `InterpCx` | Wesley Wiser | -2/+19 | |
| 2019-09-27 | [const-prop] Replace `Use` handling with use of `InterpCx` | Wesley Wiser | -1/+1 | |
| 2019-09-27 | [const-prop] Replace `eval_place()` with use of `InterpCx` | Wesley Wiser | -3/+11 | |
| 2019-09-26 | Rename `Pat.node` to `Pat.kind` | varkor | -1/+1 | |
| 2019-09-26 | Rename `subst::Kind` to `subst::GenericArg` | varkor | -3/+3 | |
| 2019-09-26 | Auto merge of #64513 - varkor:sty-begone, r=eddyb | bors | -32/+32 | |
| Rename `TyS.sty` to `TyS.kind` Fixes https://github.com/rust-lang/rust/issues/64353. r? @eddyb | ||||
| 2019-09-25 | Rename `sty` to `kind` | varkor | -29/+29 | |
| 2019-09-25 | Rename non-`TyS` uses of `sty` | varkor | -3/+3 | |
| 2019-09-25 | Format | gnzlbg | -2/+1 | |
| 2019-09-25 | Test errors | gnzlbg | -15/+10 | |
| 2019-09-25 | Refactor | gnzlbg | -58/+52 | |
