| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-08-30 | mv compiler to compiler/ | mark | -455/+0 | |
| 2020-08-18 | Address review comments | Oliver Scherer | -1/+1 | |
| 2020-08-18 | Validate the MIR of all optimizations in the mir-opt directory | Oliver Scherer | -1/+24 | |
| 2020-08-17 | rust_ast::ast => rustc_ast | Ujjwal Sharma | -1/+1 | |
| 2020-08-14 | answer an old question re: intern kinds | Ralf Jung | -1/+2 | |
| 2020-06-21 | Make is_freeze and is_copy_modulo_regions take TyCtxtAt | Ralf Jung | -1/+1 | |
| 2020-06-19 | Rollup merge of #73130 - wesleywiser:remove_const_prop_for_indirects, r=oli-obk | Ralf Jung | -6/+6 | |
| Remove const prop for indirects This was only used by one mir-opt test and since it causes buggy behavior under `-Zmir-opt-level=2`, it seems like we should remove it. This was split out from #71946. Closes #72679 Closes #72372 Closes #72285 | ||||
| 2020-06-14 | keep root_span and tcx together | Ralf Jung | -10/+9 | |
| 2020-06-12 | make miri InterpCx TyCtxtAt a TyCtxt, and separately remember the root span ↵ | Ralf Jung | -9/+9 | |
| of the evaluation | ||||
| 2020-06-07 | Don't intern memory in const prop. | Oliver Scherer | -6/+6 | |
| This isn't sound without validation. We don't want to report errors in case of failure to intern and validate, we just don't want to const prop. Interning and const prop is not built for this, let's not do it until we have a clearer picture on aggregate propagation. | ||||
| 2020-05-10 | Typo | Ralf Jung | -1/+1 | |
| Co-Authored-By: Oliver Scherer <github35764891676564198441@oli-obk.de> | ||||
| 2020-05-10 | fmt | Ralf Jung | -27/+16 | |
| 2020-05-10 | avoid raising interpreter errors from interning | Ralf Jung | -15/+24 | |
| 2020-05-10 | remove some dead code, and assert we do not swallow allocating errors | Ralf Jung | -18/+19 | |
| 2020-05-10 | Miri interning: replace ICEs by proper errors, make intern_shallow type ↵ | Ralf Jung | -119/+144 | |
| signature more precise | ||||
| 2020-05-08 | Simplify the `tcx.alloc_map` API | Oliver Scherer | -4/+4 | |
| 2020-04-19 | Auto merge of #70598 - vakaras:add-threads-cr3, r=oli-obk,RalfJung | bors | -2/+5 | |
| Make the necessary changes to support concurrency in Miri. This pull request makes the necessary changes to the Rust compiler to allow Miri to support concurrency: 1. Move stack from the interpretation context (`InterpCx`) to machine, so that the machine can switch the stacks when it changes the thread being executed. 2. Add the callbacks that allow the machine to generate fresh allocation ids for each thread local allocation and to translate them back to original allocations when needed. This allows the machine to ensure the property that allocation ids are unique, which allows using a simpler representation of the memory. r? @oli-obk cc @RalfJung | ||||
| 2020-04-19 | Dogfood more or_patterns in the compiler | Josh Stone | -8/+9 | |
| 2020-04-16 | mir/interpret: only use `ErrorHandled::Reported` for `ErrorReported`. | Eduard-Mihai Burtescu | -1/+4 | |
| 2020-04-15 | Make the necessary changes to support concurrency in Miri. | Vytautas Astrauskas | -2/+5 | |
| 2020-03-30 | rustc -> rustc_middle part 3 (rustfmt) | Mazdak Farrokhzad | -2/+2 | |
| 2020-03-30 | rustc -> rustc_middle part 2 | Mazdak Farrokhzad | -2/+2 | |
| 2020-03-24 | move ModifiedStatic error to ConstEval errors, and generally adjust ↵ | Ralf Jung | -2/+2 | |
| terminology from "static" to "global" where appropriate | ||||
| 2020-03-11 | miri: categorize errors into "unsupported" and "UB" | Ralf Jung | -2/+2 | |
| Also slightly refactor pointer bounds checks to avoid creating unnecessary temporary Errors | ||||
| 2020-03-02 | Auto merge of #69257 - RalfJung:layout-visitor, r=eddyb | bors | -2/+5 | |
| Adjust Miri value visitor, and doc-comment layout components I realized that I still didn't have quite the right intuition for how our `LayoutDetails` work, so I had to adjust the Miri value visitor to the things I understood better now. I also added some doc-comments to `LayoutDetails` as a hopefully canonical place to note such things. The main visitor change is that we *first* look at all the fields (according to `FieldPlacement`), and *then* check the variants and handle `Multiple` appropriately. I did not quite realize how orthogonal "fields" and "variants" are. I also moved the check for the scalar ABI to *after* checking all the fields; this leads to better (more type-driven) error messages. And it looks like we can finally remove that magic hack for `ty::Generator`. :D r? @oli-obk for the Miri/visitor changes and @eddyb for the layout docs The Miri PR is at: https://github.com/rust-lang/miri/pull/1178 | ||||
| 2020-02-29 | Rename `syntax` to `rustc_ast` in source code | Vadim Petrochenkov | -1/+1 | |
| 2020-02-18 | miri value visitor: fix some wrong assumptions about layout; improve error ↵ | Ralf Jung | -2/+5 | |
| messages | ||||
| 2020-02-11 | Invert control in struct_lint_level. | jumbatm | -4/+7 | |
| Caller now passes in a `decorate` function, which is only run if the lint is allowed. | ||||
| 2020-01-15 | Address review comments | Oliver Scherer | -23/+3 | |
| 2020-01-15 | Typo | Oliver Scherer | -1/+1 | |
| 2020-01-15 | Undo a change not neceesary for this bugfix | Oliver Scherer | -10/+4 | |
| 2020-01-15 | Update src/librustc_mir/interpret/intern.rs | Oliver Scherer | -1/+2 | |
| Co-Authored-By: Ralf Jung <post@ralfj.de> | ||||
| 2020-01-15 | Clean up comment | Oliver Scherer | -4/+4 | |
| 2020-01-15 | Elaborate on the details in some comments | Oliver Scherer | -9/+20 | |
| 2020-01-15 | Elaborate on comments | Oliver Scherer | -0/+14 | |
| 2020-01-15 | Promoteds can contain raw pointers, but these must still only point to ↵ | Oliver Scherer | -11/+35 | |
| immutable allocations | ||||
| 2020-01-10 | Promote `Ref`s to constants instead of static | Santiago Pastorino | -8/+17 | |
| 2020-01-09 | Rename `Unsized` to `Meta` | Oliver Scherer | -2/+2 | |
| 2020-01-07 | Poison any `MemPlace` created from a zst Operand (or otherwise via ↵ | Oliver Scherer | -2/+3 | |
| `MPlaceTy::dangling`) so you can't get the address back out. | ||||
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -1/+1 | |
| 2019-12-26 | Typo | Oliver Scherer | -1/+1 | |
| 2019-12-26 | Comments should start capitalized and end in a period | Oliver Scherer | -4/+4 | |
| 2019-12-26 | Interning even happens when validation of a constant fails | Oliver Scherer | -6/+12 | |
| 2019-12-26 | Retire `to_ptr` which should already have no users but still kept getting ↵ | Oliver Scherer | -6/+9 | |
| new ones | ||||
| 2019-12-23 | Tidy | Oliver Scherer | -1/+2 | |
| 2019-12-23 | Update src/librustc_mir/interpret/intern.rs | Oliver Scherer | -1/+1 | |
| Co-Authored-By: Ralf Jung <post@ralfj.de> | ||||
| 2019-12-23 | Dynamically prevent constants from accessing statics | Oliver Scherer | -1/+0 | |
| 2019-12-23 | Panic on mutable allocs in constants | Oliver Scherer | -6/+15 | |
| 2019-12-22 | Format the world | Mark Rousskov | -55/+37 | |
