about summary refs log tree commit diff
path: root/src/librustc/mir/interpret/mod.rs
AgeCommit message (Collapse)AuthorLines
2020-03-30rustc -> rustc_middle part 1Mazdak Farrokhzad-574/+0
2020-03-25use checked casts and arithmetic in Miri engineRalf Jung-20/+23
2020-03-24Rollup merge of #70267 - RalfJung:const-prop-unsup, r=oli-obk,wesleywiserMazdak Farrokhzad-2/+2
get rid of ConstPropUnsupported; use ZST marker structs instead This gets rid of yet another machine-specific error variant. r? @oli-obk
2020-03-24Rollup merge of #69981 - oli-obk:const_blocks, r=eddybMazdak Farrokhzad-1/+1
Evaluate repeat expression lengths as late as possible Fixes #68567 r? @varkor
2020-03-23Remove leftover mentions of `from_anon_const`Oliver Scherer-1/+1
2020-03-23add err_machine_stop macroRalf Jung-3/+8
2020-03-22get rid of ConstPropUnsupported; use ZST marker structs insteadRalf Jung-2/+2
2020-03-20more type annotations to help inferenceRalf Jung-5/+5
2020-03-19do not 'return' in 'throw_' macrosRalf Jung-5/+6
2020-03-11miri: categorize errors into "unsupported" and "UB"Ralf Jung-7/+7
Also slightly refactor pointer bounds checks to avoid creating unnecessary temporary Errors
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-1/+1
2020-02-20lit_to_const: gracefully bubble up type errors.Mazdak Farrokhzad-0/+4
2020-02-13move PanicInfo to mir moduleRalf Jung-3/+3
2020-02-13remove Panic variant from InterpErrorRalf Jung-14/+0
2020-01-24Render const pointers in MIR more compactlyOliver Scherer-1/+7
2020-01-16fix rustfmt falloutRalf Jung-2/+2
2020-01-14Code review changes and fix rustdoc test.Ben Lewis-5/+5
2020-01-14perf: eagerly convert literals to consts, this avoids creating loads on ↵Ben Lewis-1/+20
unevaluated consts which requires a lot of unnecessary work to evaluate them further down the line.
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-1/+1
2019-12-22Format the worldMark Rousskov-53/+38
2019-12-22Add simpler entry points to const eval for common usages.Ben Lewis-1/+3
2019-12-02miri: add throw_machine_stop macroRalf Jung-0/+7
2019-11-27Add memoization for const function evaluationsDavid Hewitt-1/+4
When a const function is being evaluated, as long as all its arguments are zero-sized-types (or it has no arguments) then we can trivially memoize the evaluation result using the existing query mechanism.
2019-11-18Retire BraceStructLiftImpl.Camille GILLOT-1/+2
2019-10-09Pretty print function pointer const values.ben-0/+8
2019-09-28Move `get_slice_bytes` to `rustc::mir::interpret` so it can be reused.ben-1/+1
2019-09-26Rename `subst::Kind` to `subst::GenericArg`varkor-2/+2
2019-09-07Apply suggestions from code reviewAlexander Regueiro-1/+0
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
2019-09-07Aggregation of cosmetic changes made during work on REPL PRs: librustcAlexander Regueiro-54/+56
2019-08-03also add macros for free-form error messagesRalf Jung-0/+10
2019-08-02dedup free-form Unsupported errors; add macros for free-form UB and ↵Ralf Jung-0/+10
Unsupported cases
2019-08-02be less BritishRalf Jung-3/+3
2019-08-01code review fixesSaleem Jaffer-5/+1
2019-08-01code review fixesSaleem Jaffer-31/+40
2019-07-31code review fixesSaleem Jaffer-10/+20
2019-07-30throw_X macros use err_X macrosSaleem Jaffer-10/+2
2019-07-30renaming throw_err_* to throw_*Saleem Jaffer-10/+10
2019-07-30renaming err to err_unsupSaleem Jaffer-2/+2
2019-07-30adding throw_ and err_ macros for InterpErrorSaleem Jaffer-6/+23
2019-07-30addding an interp_error moduleSaleem Jaffer-0/+1
2019-07-29code review fixesSaleem Jaffer-2/+2
2019-07-29use PanicInfo and UnsupportedOpInfoSaleem Jaffer-2/+2
2019-07-29adding a err macro for each of the InterpError variantsSaleem Jaffer-1/+41
2019-07-29fixing fallout due to InterpError refactorSaleem Jaffer-1/+2
2019-07-25Rollup merge of #62901 - petrochenkov:serde, r=CentrilMazdak Farrokhzad-3/+3
cleanup: Remove `extern crate serialize as rustc_serialize`s
2019-07-23cleanup: Remove `extern crate serialize as rustc_serialize`sVadim Petrochenkov-3/+3
2019-07-23renames EvalErrorPanic to PanicMessageSaleem Jaffer-1/+1
2019-07-20alters the panic variant of InterpErrorSaleem Jaffer-1/+1
2019-06-23clean up internals of pointer checks; make get_size_and_align also check for ↵Ralf Jung-4/+1
fn allocations
2019-06-23move CheckInAllocMsg to more logical placeRalf Jung-2/+2