| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-08-30 | mv compiler to compiler/ | mark | -471/+0 | |
| 2020-05-08 | Simplify the `tcx.alloc_map` API | Oliver Scherer | -1/+1 | |
| 2020-04-19 | Dogfood more or_patterns in the compiler | Josh Stone | -1/+1 | |
| 2020-04-16 | mir/interpret: only use `ErrorHandled::Reported` for `ErrorReported`. | Eduard-Mihai Burtescu | -2/+5 | |
| 2020-04-02 | nix rustc_target::abi::* reexport in ty::layout | Mazdak Farrokhzad | -7/+8 | |
| 2020-03-30 | rustc -> rustc_middle part 2 | Mazdak Farrokhzad | -4/+4 | |
| 2020-03-27 | Rename TyLayout to TyAndLayout. | Ana-Maria Mihalache | -4/+4 | |
| 2020-03-25 | make Size::from* methods generic in the integer type they accept | Ralf Jung | -1/+1 | |
| 2020-03-04 | PlaceRef<'a, 'tcx> -> PlaceRef<'tcx> | Santiago Pastorino | -2/+2 | |
| 2020-03-03 | Make PlaceRef lifetimes of codegen_place be both 'tcx | Santiago Pastorino | -2/+2 | |
| 2020-02-27 | don't use .into() to convert types into identical types. | Matthias Krüger | -2/+1 | |
| example: let s: String = format!("hello").into(); | ||||
| 2020-02-15 | Change `const_field` and `const_caller_location` to return `ConstValue` ↵ | Ben Lewis | -9/+5 | |
| instead of `Const` as the type in the returned const isn't needed. | ||||
| 2020-02-15 | Change const eval to return `ConstValue`, instead of `Const` as the type ↵ | Ben Lewis | -1/+1 | |
| inside it shouldn't be used. | ||||
| 2020-01-28 | Local field on PlaceRef and RootPlace is not a reference anymore | Santiago Pastorino | -1/+1 | |
| 2020-01-28 | codegen_place and related functions can take PlaceRef by value | Santiago Pastorino | -3/+3 | |
| 2020-01-10 | Remove PlaceBase enum and make Place base field be local: Local | Santiago Pastorino | -33/+29 | |
| 2020-01-10 | Remove Static from PlaceBase | Santiago Pastorino | -32/+32 | |
| 2019-12-22 | Format the world | Mark Rousskov | -109/+93 | |
| 2019-12-05 | comments | Ralf Jung | -2/+3 | |
| 2019-11-22 | Rollup merge of #66587 - matthewjasper:handle-static-as-const, r=oli-obk | Mazdak Farrokhzad | -2/+1 | |
| Handle statics in MIR as const pointers This is the first PR towards the goal of removing `PlaceBase::Static`. In this PR: * Statics are lowered to dereferencing a const pointer. * The temporaries holding such pointers are tracked in MIR, for the most part this is only used for diagnostics. There are two exceptions: * The borrow checker has some checks for thread-locals that directly use this data. * Const checking will suppress "cannot dereference raw pointer" diagnostics for pointers to `static mut`/`extern static`. This is to maintain the current behaviour (12 tests fail otherwise). The following are left to future PRs (I think that @spastorino will be working on the first 3): * Applying the same treatments to promoted statics. * Removing `PlaceBase::Static`. * Replacing `PlaceBase` with `Local`. * Moving the ever growing collection of metadata that we have for diagnostics in MIR passes somewhere more appropriate. r? @oli-obk | ||||
| 2019-11-21 | Readjust constant evaluation for operands | Santiago Pastorino | -2/+1 | |
| 2019-11-21 | Aggregation of drive-by cosmetic changes. | Alexander Regueiro | -9/+9 | |
| 2019-11-12 | Rename in librustc_codegen_ssa. | Camille GILLOT | -6/+6 | |
| 2019-10-21 | Rename `ConstValue::Infer(InferConst::Canonical(..))` to `ConstValue::Bound(..)` | varkor | -0/+1 | |
| 2019-09-14 | Rollup merge of #64435 - eddyb:arguments-against-arg, r=rkruppe | Mazdak Farrokhzad | -1/+1 | |
| codegen: use "_N" (like for other locals) instead of "argN", for argument names. Based on #64408 (second commit is new), fixing something I mentioned in #64408 (which turned to be an immediate blocker for unifying relevant codepaths). Closes #64408 (by containing it). r? @rkruppe | ||||
| 2019-09-12 | codegen: be more explicit about setting giving names to allocas. | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-09-09 | Convert Place's projection to a boxed slice | Santiago Pastorino | -35/+33 | |
| 2019-08-29 | `new_sized` is mostly used without align | Dante-Broggi | -1/+0 | |
| so rename it `new_sized_aligned`. 6/11 use `align` = `layout.align.abi`. `from_const_alloc` uses `alloc.align`, but that is `assert_eq!` to `layout.align.abi`. only 4/11 use something interesting for `align`. | ||||
| 2019-08-16 | Remove redundant `ty` fields from `mir::Constant` and ↵ | Eduard-Mihai Burtescu | -1/+1 | |
| `hair::pattern::PatternRange`. | ||||
| 2019-08-02 | CTFE: simplify Value type by not checking for alignment | Ralf Jung | -2/+2 | |
| 2019-07-22 | Place::as_place_ref is now Place::as_ref | Santiago Pastorino | -1/+1 | |
| 2019-07-20 | Avoid cloning Place in codegen_place | Santiago Pastorino | -10/+10 | |
| 2019-06-19 | Change `ByRef` to a struct variant to clarify its fields via names | Oliver Scherer | -1/+1 | |
| 2019-06-19 | Remove the `AllocId` from `ByRef` values | Oliver Scherer | -2/+2 | |
| `ByRef` const values have no identity beyond their value, we should not treat them as having identity. The `AllocId` often differed between equal constants, because of the way that the miri-engine evaluates constants. | ||||
| 2019-06-19 | Weave the alignment through `ByRef` | Oliver Scherer | -2/+2 | |
| 2019-06-18 | rustc: remove 'x: 'y bounds (except from comments/strings). | Eduard-Mihai Burtescu | -3/+3 | |
| 2019-06-01 | Auto merge of #61350 - RalfJung:alloc, r=oli-obk | bors | -1/+1 | |
| light refactoring of global AllocMap * rename AllocKind -> GlobalAlloc. This stores the allocation itself, not just its kind. * rename the methods that allocate stuff to have consistent names. Cc @oli-obk | ||||
| 2019-05-30 | light refactoring of global AllocMap | Ralf Jung | -1/+1 | |
| * rename AllocKind -> GlobalAlloc. This stores the allocation itself, not just its kind. * rename the methods that allocate stuff to have consistent names. | ||||
| 2019-05-30 | Make the `type_name` intrinsic's output deterministic | Oliver Scherer | -6/+6 | |
| 2019-05-25 | Make `ConstValue::Slice` solely take `[u8]` and `str` | Oliver Scherer | -4/+8 | |
| 2019-05-25 | Don't use `ty::Const` without immediately interning | Oliver Scherer | -1/+1 | |
| 2019-05-22 | Make maybe_codegen_consume_direct iterate instead of doing recursion | Santiago Pastorino | -34/+36 | |
| 2019-05-01 | Add `ConstValue::Placeholder` | varkor | -0/+1 | |
| 2019-03-29 | Use Builder instead of CodegenCx for OperandRef and LocalRef | bjorn3 | -15/+15 | |
| 2019-03-29 | `eval_mir_constant` doesn't need a builder param | bjorn3 | -1/+1 | |
| 2019-03-16 | Revert the `LazyConst` PR | Oliver Scherer | -0/+1 | |
| 2019-03-05 | Use non_erasable_generics for codegen | varkor | -0/+2 | |
| Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com> | ||||
| 2019-03-01 | Put Local, Static and Promoted as one Base variant of Place | Santiago Pastorino | -1/+1 | |
| 2019-02-25 | librustc_codegen_ssa: deny(elided_lifetimes_in_paths) | Mazdak Farrokhzad | -1/+1 | |
| 2019-02-16 | Reuse the `Pointer` type instead of passing reassembling it at many use sites | Oliver Scherer | -2/+2 | |
