about summary refs log tree commit diff
path: root/src/librustc/mir/interpret
AgeCommit message (Collapse)AuthorLines
2019-04-20improve docsRalf Jung-2/+2
2019-04-19add Miri error variant for process exitRalf Jung-0/+8
2019-04-16Miri: refactor new allocation taggingRalf Jung-70/+45
2019-04-05remove lookup_char_pos_adjAleksey Kladov-2/+2
It is now exactly equivalent to lookup_char_pos.
2019-04-02renames EvalErrorKind to InterpErrorkenta7777-17/+17
2019-03-27renames EvalContext to InterpretCx in docs and comments.kenta7777-1/+1
2019-03-23Deduplicate const eval error spans for better outputEsteban Küber-1/+3
2019-03-23Swap const evaluation lint spans to point at problem in primary spanEsteban Küber-0/+11
2019-03-16Revert the `LazyConst` PROliver Scherer-1/+7
2019-03-15Auto merge of #58556 - oli-obk:imperative_recursion, r=pnkfelixbors-13/+63
Optimize copying large ranges of undefmask blocks Hopefully fixes #58523
2019-03-13Use derive macro for HashStableJohn Kåre Alsaker-10/+18
2019-03-12Explain the bits of `UndefMask`Oliver Scherer-0/+2
2019-03-05Add ConstValue::Param and ConstValue::Infervarkor-1/+9
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-04Use bit operations for setting large ranges of bits in a u64Oliver Scherer-16/+33
2019-03-04No magic numbersOliver Scherer-1/+1
2019-03-04Optimize copying large ranges of undefmask blocksOliver Scherer-7/+38
2019-02-26Auto merge of #58561 - ljedrz:HirIdify_some_nodes, r=Zoxcbors-7/+7
Remove NodeId from some HIR nodes The next iteration of https://github.com/rust-lang/rust/pull/57578. Removes `NodeId` from: - [x] `Lifetime` - [x] `Ty` - [x] `GenericParam` - [x] `WhereClause` - [x] `WhereEqPredicate` - [x] `MacroDef` - [x] `Block` - [x] `Expr` r? @Zoxc
2019-02-24hir: remove NodeId from Blockljedrz-7/+7
2019-02-16Reintroduce the invariant comment for clarityOliver Scherer-0/+1
2019-02-16Reuse the `Pointer` type instead of passing reassembling it at many use sitesOliver Scherer-3/+2
2019-02-13Rollup merge of #58273 - taiki-e:rename-dependency, r=matthewjasperMazdak Farrokhzad-1/+1
Rename rustc_errors dependency in rust 2018 crates I think this is a better solution than `use rustc_errors as errors` in `lib.rs` and `use crate::errors` in modules. Related: rust-lang/cargo#5653 cc #58099 r? @Centril
2019-02-12Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnikbors-26/+27
Cosmetic improvements to doc comments This has been factored out from https://github.com/rust-lang/rust/pull/58036 to only include changes to documentation comments (throughout the rustc codebase). r? @steveklabnik Once you're happy with this, maybe we could get it through with r=1, so it doesn't constantly get invalidated? (I'm not sure this will be an issue, but just in case...) Anyway, thanks for your advice so far!
2019-02-13Rename rustc_errors dependency in rust 2018 cratesTaiki Endo-1/+1
2019-02-10rustc: doc commentsAlexander Regueiro-26/+27
2019-02-09miri: give non-generic functions a stable addressRalf Jung-8/+23
2019-02-05move librustc to 2018Mark Mansi-21/+21
2019-01-30Swap the names of `LocalValue` and `LocalState`Oliver Scherer-1/+1
2019-01-27`ConstValue::ScalarPair` only needs to represent slicesOliver Scherer-15/+9
2019-01-27Add some size assertions for const eval typesOliver Scherer-0/+8
2019-01-05Rollup merge of #57314 - wiktorkuchta:master, r=Centrilkennytm-1/+1
Fix repeated word typos Inspired by #57295 (I skipped 'be be' because of it) and my [PR in another repo ](https://github.com/e-maxx-eng/e-maxx-eng/pull/389) Not a stupid `sed`, I actually tried to fix case by case.
2019-01-05Rollup merge of #57219 - matthewjasper:mir-cleanup, r=nikomatsakiskennytm-22/+0
Remove some unused code Closes #57096
2019-01-03Fix repeated word typosWiktor Kuchta-1/+1
Found with `git grep -P '\b([a-z]+)\s+\1\b'`
2019-01-01`<&'tcx ty::Const as Deref>::deref`Oliver Scherer-1/+1
2019-01-01Move the `Unevaluated` constant arm upwards in the type structureOliver Scherer-9/+1
2018-12-29Remove unused types from rustc::mir::interpretMatthew Jasper-22/+0
The types are no longer used with the change to stacked borrows for validation.
2018-12-27Auto merge of #57129 - RalfJung:check-bounds, r=oli-obkbors-1/+1
make Alloc::check_bounds_ptr private; you should use Memory::check_bounds_ptr instead r? @oli-obk
2018-12-26make Alloc::check_bounds_ptr private; you should use ↵Ralf Jung-1/+1
Memory::check_bounds_ptr instead
2018-12-25Remove licensesMark Rousskov-40/+0
2018-12-15Rollup merge of #56718 - RalfJung:use-libbacktrace-printing, r=alexcrichtonPietro Albini-40/+4
Use libbacktrace pretty-printing r? @alexcrichton
2018-12-13Auto merge of #56461 - oli-obk:alloc_ids, r=RalfJungbors-48/+70
Some cleanups around `AllocId` management r? @eddyb cc @RalfJung
2018-12-11miri: use backtrace crate printing instead of rolling our ownRalf Jung-40/+4
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1
2018-12-04No need to export functions only used in the same moduleOliver Scherer-1/+1
2018-12-04Mention `alloc` in the name of the interning methodsOliver Scherer-6/+6
2018-12-04s/id_to_type/id_to_kind/Oliver Scherer-7/+7
2018-12-04Clear up commentOliver Scherer-1/+3
2018-12-04s/alloc_type/alloc_kind/Oliver Scherer-7/+7
2018-12-03s/AllocType/AllocKind/Oliver Scherer-15/+15
2018-12-03s/AllocKind/AllocDiscriminant/Oliver Scherer-11/+11
2018-12-03Document `AllocMap`Oliver Scherer-2/+20