| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-08-22 | Move promoted out of mir::Body | Wesley Wiser | -50/+108 | |
| 2019-08-22 | Move 'tcx lifetime on MirPass | Wesley Wiser | -48/+48 | |
| 2019-08-17 | use ImmTy::from_uint in a few more spots | Ralf Jung | -18/+9 | |
| 2019-08-17 | make both unary_op and binary_op fully typed, including a return type | Ralf Jung | -7/+3 | |
| 2019-08-17 | Rollup merge of #63642 - eddyb:wrap-it-up, r=rkruppe,Mark-Simulacrum | Mazdak Farrokhzad | -6/+6 | |
| Rename overflowing_{add,sub,mul} intrinsics to wrapping_{add,sub,mul}. These confused @Gankra, and then, also me, especially since `overflowing_*` *methods* also exist, but they map to `*_with_overflow` intrinsics! r? @oli-obk / @nikomatsakis cc @Mark-Simulacrum (on the rustbuild workaround) | ||||
| 2019-08-16 | Rename overflowing_{add,sub,mul} intrinsics to wrapping_{add,sub,mul}. | Eduard-Mihai Burtescu | -6/+6 | |
| 2019-08-16 | Remove redundant `ty` fields from `mir::Constant` and ↵ | Eduard-Mihai Burtescu | -9/+5 | |
| `hair::pattern::PatternRange`. | ||||
| 2019-08-15 | don't add Retag statements for compound types | Ralf Jung | -13/+9 | |
| 2019-08-06 | Rollup merge of #63299 - spastorino:in-projection-use-ref, r=oli-obk | Mazdak Farrokhzad | -14/+15 | |
| Make qualify consts in_projection use PlaceRef r? @oli-obk | ||||
| 2019-08-05 | Make qualify consts in_projection use PlaceRef | Santiago Pastorino | -14/+15 | |
| 2019-08-05 | Clear the ParamEnv where its information is irrelevant | Oliver Scherer | -1/+1 | |
| 2019-08-05 | Fiddle param env through to `try_eval_bits` in most places | Oliver Scherer | -9/+13 | |
| 2019-08-05 | Don't abort on unevaluated constants without at least tryting to eval them | Oliver Scherer | -5/+5 | |
| 2019-08-05 | Clean up the `ty::Const::assert*` methods | Oliver Scherer | -2/+1 | |
| 2019-08-02 | be less British | Ralf Jung | -1/+1 | |
| 2019-08-01 | code review fixes | Saleem Jaffer | -1/+6 | |
| 2019-08-01 | code review fixes | Saleem Jaffer | -6/+2 | |
| 2019-07-31 | code review fixes | Saleem Jaffer | -2/+2 | |
| 2019-07-30 | renaming throw_err_* to throw_* | Saleem Jaffer | -1/+1 | |
| 2019-07-30 | adding throw_ and err_ macros for InterpError | Saleem Jaffer | -1/+1 | |
| 2019-07-30 | code review fixes | Saleem Jaffer | -7/+0 | |
| 2019-07-29 | code review fixes | Saleem Jaffer | -2/+2 | |
| 2019-07-29 | use PanicInfo and UnsupportedOpInfo | Saleem Jaffer | -8/+8 | |
| 2019-07-29 | adding a err macro for each of the InterpError variants | Saleem Jaffer | -1/+1 | |
| 2019-07-29 | tidy fixes | Saleem Jaffer | -1/+0 | |
| 2019-07-29 | fixing fallout due to InterpError refactor | Saleem Jaffer | -76/+10 | |
| 2019-07-26 | Rollup merge of #62801 - bjorn3:remove_lower_128bit_ops, r=alexcrichton | Mazdak Farrokhzad | -240/+0 | |
| Remove support for -Zlower-128bit-ops It is broken and unused cc https://github.com/rust-lang/rust/issues/58969 blocked https://github.com/rust-lang-nursery/compiler-builtins/pull/302 (removes definitions of the lang items removed in this PR) r? @alexcrichton | ||||
| 2019-07-24 | Stabilize the type_name intrinsic in core::any | Steven Fackler | -1/+1 | |
| Closes rust-lang/rfcs#1428 | ||||
| 2019-07-24 | use PanicMessage type for MIR assertion errors | Ralf Jung | -12/+9 | |
| 2019-07-24 | do not use InterpError::description outside librustc::mir | Ralf Jung | -2/+3 | |
| 2019-07-23 | Rollup merge of #62859 - spastorino:rename-to-as-ref, r=Centril | Mark Rousskov | -12/+12 | |
| Place::as_place_ref is now Place::as_ref r? @oli-obk | ||||
| 2019-07-23 | Rollup merge of #60951 - saleemjaffer:mir_better_error_enum, r=oli-obk | Mark Rousskov | -14/+9 | |
| more specific errors in src/librustc/mir/interpret/error.rs Implements [this](https://github.com/rust-rfcs/const-eval/issues/4) | ||||
| 2019-07-23 | renames EvalErrorPanic to PanicMessage | Saleem Jaffer | -14/+9 | |
| 2019-07-23 | moving some variants from InterpError to EvalErrorPanic | Saleem Jaffer | -14/+14 | |
| 2019-07-22 | Place::as_place_ref is now Place::as_ref | Santiago Pastorino | -12/+12 | |
| 2019-07-20 | Avoid cloning Place in check_and_patch | Santiago Pastorino | -12/+13 | |
| 2019-07-20 | Avoid cloning Place in visit_rvalue | Santiago Pastorino | -4/+4 | |
| 2019-07-20 | Avoid cloning Place in assign #2 | Santiago Pastorino | -8/+2 | |
| 2019-07-20 | Avoid cloning Place in assign #1 | Santiago Pastorino | -8/+3 | |
| 2019-07-20 | Avoid cloning Place in in_projection_structurally | Santiago Pastorino | -20/+20 | |
| 2019-07-20 | Avoid cloning Place in is_stable | Santiago Pastorino | -5/+6 | |
| 2019-07-20 | Avoid cloning Place in report_use_of_moved_or_uninitialized and friends | Santiago Pastorino | -8/+8 | |
| 2019-07-20 | Migrate from Place enum to Place struct | Santiago Pastorino | -176/+351 | |
| 2019-07-19 | Remove support for -Zlower-128bit-ops | bjorn3 | -240/+0 | |
| It is broken and unused | ||||
| 2019-07-18 | Auto merge of #61749 - davidtwco:rfc-2203-const-array-repeat-exprs, r=eddyb | bors | -78/+111 | |
| rustc/rustc_mir: Implement RFC 2203. This PR implements RFC 2203, allowing constants in array repeat expressions. Part of #49147. r? @eddyb | ||||
| 2019-07-16 | Auto merge of #62322 - wesleywiser:promoted_query, r=oli-obk | bors | -0/+7 | |
| Add a query to get the `promoted`s for a `mir::Body` This is a builidng block toward removing a lot of duplicated code between miri and the cosnt-propagator pass. See this thread for more info: https://rust-lang.zulipchat.com/#narrow/stream/189540-t-compiler.2Fwg-mir-opt/topic/Using.20.60InterpCx.60.20more/near/169030661 r? @spastorino but feel free to hand it off to somebody else | ||||
| 2019-07-11 | rustc_mir: follow FalseUnwind's real_target edge in qualify_consts. | Eduard-Mihai Burtescu | -2/+2 | |
| 2019-07-10 | Rollup merge of #62275 - eddyb:const-drop-replace, r=pnkfelix | Mazdak Farrokhzad | -3/+20 | |
| rustc_mir: treat DropAndReplace as Drop + Assign in qualify_consts. This slipped through the cracks and never got implemented (thankfully that just meant it was overly conservative and didn't allow assignments that don't *actually* drop the previous value). Fixes #62273. r? @oli-obk | ||||
| 2019-07-07 | syntax: Add feature gate. | David Wood | -1/+1 | |
| This commit adds a `const_in_array_repeat_expressions` feature gate and only create `Candidate::Repeat` if it is enabled. | ||||
| 2019-07-07 | rustc/rustc_mir: Implement RFC 2203. | David Wood | -78/+111 | |
| This commit implements RFC 2203, allowing constants in array repeat expressions. Firstly, the check that the array repeat expression implements `Copy` is removed and re-implemented in `rustc_mir::borrow_check::nll::type_check` by emitting an error when the MIR contains a `Operand::Move` and the type does not implement `Copy`. Next, the `qualify_consts` pass is modified to construct a `Candidate::Repeat` when it would be correct to promote a array repeat expression. Finally, the `promote_consts` pass is modified to promote the candidates previously identified. | ||||
