| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-04-28 | Fix lint findings in librustc_mir | flip1995 | -2/+2 | |
| 2019-04-21 | Change return type of `TyCtxt::is_static` to bool | Vadim Petrochenkov | -6/+5 | |
| Add `TyCtxt::is_mutable_static` | ||||
| 2019-04-16 | Miri: refactor new allocation tagging | Ralf Jung | -11/+11 | |
| 2019-04-06 | Remove check_match from const_eval | Isaac Whitfield | -16/+3 | |
| 2019-04-02 | renames EvalErrorKind to InterpError | kenta7777 | -4/+4 | |
| 2019-03-29 | Use ErrorReported | Yuki OKUSHI | -1/+2 | |
| 2019-03-29 | Remove unused variable | Yuki OKUSHI | -1/+1 | |
| 2019-03-29 | Return correct values | Yuki OKUSHI | -5/+7 | |
| 2019-03-29 | WIP: remove report_as_error | Yuki OKUSHI | -7/+5 | |
| 2019-03-29 | Set ok value | Yuki OKUSHI | -2/+2 | |
| 2019-03-29 | Remove err_count | Yuki OKUSHI | -4/+5 | |
| 2019-03-29 | Use track_errors | Yuki OKUSHI | -3/+7 | |
| 2019-03-27 | renames EvalContext to InterpretCx in docs and comments. | kenta7777 | -1/+1 | |
| 2019-03-26 | renames EvalContext to InterpretCx. | kenta7777 | -14/+14 | |
| 2019-03-24 | Auto merge of #59199 - estebank:untrack-errors, r=eddyb | bors | -4/+2 | |
| Remove `track_errors` from `check_match`, `typeck_item_bodies` and `register_plugins` In the spirit of continuing through errors in type checking (#39275), remove `track_errors` from a couple of locations in the codebase. | ||||
| 2019-03-23 | Swap const evaluation lint spans to point at problem in primary span | Esteban Küber | -0/+2 | |
| 2019-03-22 | Add note to address check_match errors | Esteban Küber | -0/+1 | |
| 2019-03-22 | address review comments | Esteban Küber | -4/+1 | |
| 2019-03-16 | Revert the `LazyConst` PR | Oliver Scherer | -2/+2 | |
| 2019-03-16 | Rollup merge of #59139 - oli-obk:unions_are_a_good_thing, r=RalfJung | kennytm | -13/+13 | |
| Unregress using scalar unions in constants. fixes https://github.com/rust-lang/rust/issues/59126 r? @RalfJung I also made a bunch of these invariants panic instead of report an error. | ||||
| 2019-03-15 | we can now print on entering/leaving the topmost frame, and make sure it ↵ | Ralf Jung | -8/+9 | |
| stays that way | ||||
| 2019-03-15 | rustc: rename item_path to def_path (except the module in ty). | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-03-12 | Unregress using scalar unions in constants. | Oliver Scherer | -13/+13 | |
| 2019-03-09 | Rollup merge of #58518 - oli-obk:unreachable_result_errors, r=RalfJung | Mazdak Farrokhzad | -23/+20 | |
| Use early unwraps instead of bubbling up errors just to unwrap in the end r? @RalfJung | ||||
| 2019-03-07 | HirIdification: replace NodeId method calls | ljedrz | -2/+2 | |
| 2019-03-04 | Use early unwraps instead of bubbling up errors just to unwrap in the end | Oliver Scherer | -23/+20 | |
| 2019-02-26 | Auto merge of #58561 - ljedrz:HirIdify_some_nodes, r=Zoxc | bors | -3/+3 | |
| 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-24 | hir: remove NodeId from Block | ljedrz | -3/+3 | |
| 2019-02-16 | Make `may_normalize` explicit in the type system | Oliver Scherer | -34/+38 | |
| 2019-02-16 | Make validity checking use `MPlaceTy` instead of `OpTy` | Oliver Scherer | -7/+5 | |
| 2019-02-16 | Reuse the `Pointer` type instead of passing reassembling it at many use sites | Oliver Scherer | -1/+1 | |
| 2019-02-16 | Burn some invariants we keep up into code | Oliver Scherer | -1/+1 | |
| 2019-02-16 | Expose const -> op functions that don't allow violiting const eval invariants | Oliver Scherer | -2/+2 | |
| 2019-02-13 | make bin_op and unary_op APIs consistently work on ImmTy | Ralf Jung | -6/+5 | |
| 2019-02-13 | make OpTy.op private, and ImmTy.imm public instead | Ralf Jung | -12/+3 | |
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -5/+5 | |
| 2019-02-08 | librustc_mir => 2018 | Taiki Endo | -1/+1 | |
| 2019-01-27 | `ConstValue::ScalarPair` only needs to represent slices | Oliver Scherer | -6/+3 | |
| 2019-01-25 | Rollup merge of #57734 - oli-obk:fixes_and_cleanups, r=pnkfelix | Mazdak Farrokhzad | -13/+16 | |
| Fix evaluating trivial drop glue in constants ```rust struct A; impl Drop for A { fn drop(&mut self) {} } const FOO: Option<A> = None; const BAR: () = (FOO, ()).1; ``` was erroring with ``` error: any use of this value will cause an error --> src/lib.rs:9:1 | 9 | const BAR: () = (FOO, ()).1; | ^^^^^^^^^^^^^^^^^^^^^^^^^^-^ | | | calling non-const function `std::ptr::real_drop_in_place::<(std::option::Option<A>, ())> - shim(Some((std::option::Option<A>, ())))` | = note: #[deny(const_err)] on by default error: aborting due to previous error ``` before this PR. According to godbolt this last compiled successfully in 1.27 | ||||
| 2019-01-22 | Span fixup | Oliver Scherer | -6/+8 | |
| 2019-01-22 | Get rid of the fake stack frame | Oliver Scherer | -68/+12 | |
| 2019-01-20 | const_eval: Predetermine the layout of all locals when pushing a stack frame | Björn Steinbrink | -0/+1 | |
| Usually the layout of any locals is required at least three times, once when it becomes live, once when it is written to, and once it is read from. By adding a cache for them, we can reduce the number of layout queries speeding up code that is heavy on const_eval. | ||||
| 2019-01-18 | Allow evaluating trivial drop glue in constants | Oliver Scherer | -13/+16 | |
| 2019-01-13 | Rollup merge of #57351 - oli-obk:cheap_const_ops, r=RalfJung | Mazdak Farrokhzad | -14/+36 | |
| Don't actually create a full MIR stack frame when not needed r? @dotdash This should significantly reduce overhead during const propagation and reduce overhead *after* copy propagation (cc https://github.com/rust-lang/rust/issues/36673) | ||||
| 2019-01-09 | Not seeing the forest because there are too many trees in the way | Oliver Scherer | -1/+1 | |
| 2019-01-09 | Explain the arguments of the `mk_*_eval_cx` functions | Oliver Scherer | -0/+13 | |
| 2019-01-09 | Document the `mk_*_eval_cx` functions | Oliver Scherer | -2/+10 | |
| 2019-01-08 | Make `mk_eval_cx` private to const eval | Oliver Scherer | -1/+1 | |
| 2019-01-08 | Manually push a stack frame where no valid frame is needed | Oliver Scherer | -35/+12 | |
| 2019-01-05 | Don't actually create a full MIR stack frame when not needed | Oliver Scherer | -3/+27 | |
