| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-12-07 | Auto merge of #66927 - RalfJung:engines-dont-panic, r=oli-obk | bors | -2/+19 | |
| Miri core engine: use throw_ub instead of throw_panic See https://github.com/rust-lang/rust/issues/66902 for context: panicking is not really an "interpreter error", but just part of a normal Rust execution. This is a first step towards removing the `InterpError::Panic` variant: the core Miri engine does not use it any more. ConstProp and ConstEval still use it, though. This will be addressed in future PRs. From what I can tell, all the error messages this removes are actually duplicates. r? @oli-obk @wesleywiser | ||||
| 2019-12-01 | Miri core engine: use throw_ub instead of throw_panic | Ralf Jung | -2/+19 | |
| 2019-12-01 | add reusable MachineStop variant to Miri engine error enum | Ralf Jung | -16/+12 | |
| 2019-12-01 | Rollup merge of #66832 - RalfJung:const-prop-no-alloc, r=oli-obk | Mazdak Farrokhzad | -7/+13 | |
| const_prop: detect and avoid catching Miri errors that require allocation r? @wesleywiser @oli-obk | ||||
| 2019-11-28 | const_prop: detect and avoid catching Miri errors that require allocation | Ralf Jung | -7/+13 | |
| 2019-11-28 | Removed FIXME comment | David Haig | -2/+0 | |
| 2019-11-28 | Remove duplication using single variant for error | David Haig | -11/+11 | |
| 2019-11-28 | Squash | David Haig | -0/+6 | |
| 2019-11-26 | Fix spelling typos | Brian Wignall | -1/+1 | |
| 2019-11-21 | Introduce MIR optimizations for simplifying `x?` on `Result`s. | Mazdak Farrokhzad | -1/+1 | |
| This optimization depends on inlining for the identity conversions introduced by the lowering of the `?`. To take advantage of `SimplifyArmIdentity`, `-Z mir-opt-level=2` is required because that triggers the inlining MIR optimization. | ||||
| 2019-11-14 | Update to use new librustc_error_codes library | Guillaume Gomez | -0/+2 | |
| 2019-10-18 | Don't ICE when evaluating writes to uninhabited enum variants | Wesley Wiser | -3/+4 | |
| 2019-10-02 | Compute the layout of uninhabited structs | Oliver Scherer | -6/+0 | |
| 2019-09-27 | Introduce a `ConstPropMachine` | Wesley Wiser | -12/+0 | |
| This allows us to avoid changing things directly in the miri engine just for const prop. | ||||
| 2019-09-27 | Work around for #64506 | Wesley Wiser | -0/+6 | |
| 2019-09-27 | [const-prop] Replace `eval_place()` with use of `InterpCx` | Wesley Wiser | -0/+12 | |
| 2019-09-17 | Rollup merge of #64541 - RalfJung:miri-errors, r=oli-obk | Tyler Mandry | -1/+14 | |
| document Miri error categories r? @oli-obk | ||||
| 2019-09-17 | Get rid of special const intrinsic query in favour of `const_eval` | Oliver Scherer | -0/+9 | |
| 2019-09-17 | document Miri error categories | Ralf Jung | -1/+14 | |
| 2019-09-07 | Aggregation of cosmetic changes made during work on REPL PRs: librustc | Alexander Regueiro | -9/+7 | |
| 2019-09-06 | Fixed grammar/style in error messages and reblessed tests. | Alexander Regueiro | -6/+6 | |
| 2019-08-10 | rename RUST_CTFE_BACKTRACE to RUSTC_CTFE_BACKTRACE | Ralf Jung | -1/+1 | |
| 2019-08-07 | Auto merge of #63152 - estebank:big-array, r=oli-obk | bors | -7/+11 | |
| Always error on `SizeOverflow` during mir evaluation Fix #55878, fix #25116. r? @oli-obk | ||||
| 2019-08-04 | tweak output and tests | Esteban Küber | -1/+3 | |
| 2019-08-04 | AssumptionNotHeld is used only once in Miri and never caught... remove from enum | Ralf Jung | -4/+0 | |
| 2019-08-04 | move AssumptionNotHeld to UB | Ralf Jung | -3/+4 | |
| 2019-08-03 | avoid mutable state and override main message | Esteban Küber | -5/+6 | |
| 2019-08-03 | add variant for experimental UB (like Stacked Borrows) | Ralf Jung | -3/+5 | |
| 2019-08-02 | dedup free-form Unsupported errors; add macros for free-form UB and ↵ | Ralf Jung | -13/+2 | |
| Unsupported cases | ||||
| 2019-08-02 | be less British | Ralf Jung | -5/+5 | |
| 2019-08-02 | Nicer labels for type layout errors | Esteban Küber | -2/+2 | |
| 2019-08-02 | Do not lint on SizeOverflow, always error | Esteban Küber | -1/+3 | |
| 2019-08-02 | Always error on `SizeOverflow` during mir evaluation | Esteban Küber | -1/+0 | |
| 2019-07-31 | code review fixes | Saleem Jaffer | -5/+6 | |
| 2019-07-30 | renaming err to err_unsup | Saleem Jaffer | -2/+2 | |
| 2019-07-30 | adding throw_ and err_ macros for InterpError | Saleem Jaffer | -1/+1 | |
| 2019-07-29 | code review fixes | Saleem Jaffer | -7/+7 | |
| 2019-07-29 | code review fixes | Saleem Jaffer | -0/+1 | |
| 2019-07-29 | use PanicInfo and UnsupportedOpInfo | Saleem Jaffer | -8/+8 | |
| 2019-07-29 | implementing Debug for UnsupportedInfo | Saleem Jaffer | -99/+108 | |
| 2019-07-29 | fixing fallout due to InterpError refactor | Saleem Jaffer | -68/+104 | |
| 2019-07-29 | code review fixes | Saleem Jaffer | -6/+7 | |
| 2019-07-29 | moving remaining variants to UnsupportedInfo | Saleem Jaffer | -25/+22 | |
| 2019-07-29 | more grouping of the variants in InterpError | Saleem Jaffer | -42/+44 | |
| 2019-07-29 | grouping the variants of InterpError | Saleem Jaffer | -10/+26 | |
| 2019-07-29 | changing the fields of InterpError | Saleem Jaffer | -8/+23 | |
| 2019-07-24 | Apply suggestions from code review | Ralf Jung | -4/+4 | |
| Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com> | ||||
| 2019-07-24 | use PanicMessage type for MIR assertion errors | Ralf Jung | -50/+77 | |
| 2019-07-24 | kill InterpError::description | Ralf Jung | -154/+116 | |
| 2019-07-24 | do not use InterpError::description outside librustc::mir | Ralf Jung | -1/+1 | |
