about summary refs log tree commit diff
path: root/src/librustc_mir/interpret
AgeCommit message (Expand)AuthorLines
2020-03-01Auto merge of #69408 - RalfJung:canonical-alloc-id, r=oli-obkbors-45/+57
2020-03-01Rollup merge of #69580 - matthiaskrgr:map_clone, r=CentrilYuki Okushi-1/+1
2020-03-01Auto merge of #69592 - petrochenkov:nosyntax, r=Centrilbors-6/+6
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-6/+6
2020-02-29Rollup merge of #69572 - matthiaskrgr:try_err_and_iter_on_ref, r=CentrilDylan DPC-1/+1
2020-02-29use .copied() instead of .map(|x| *x) on iteratorsMatthias Krüger-1/+1
2020-02-29downgrade some assertions to debug_ againRalf Jung-5/+7
2020-02-29use .iter() instead of .into_iter() on references.Matthias Krüger-1/+1
2020-02-28miri engine: turn some debug_assert into assertRalf Jung-14/+12
2020-02-28remove ScalarMaybeUndef::to_bits and make Scalar::to_bits privateRalf Jung-42/+38
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-3/+3
2020-02-28Auto merge of #68505 - skinny121:canonicalize-const-eval-inputs, r=nikomatsakisbors-5/+1
2020-02-27don't use .into() to convert types into identical types.Matthias Krüger-2/+2
2020-02-26miri: validity visitor comments and path printing improvementsRalf Jung-22/+45
2020-02-23fmtRalf Jung-4/+1
2020-02-23canonicalize alloc ID before calling tag_static_base_pointerRalf Jung-1/+4
2020-02-23miri/machine: add canonical_alloc_id hook to replace find_foreign_staticRalf Jung-44/+56
2020-02-20Erase regions before before performing const eval, to improve caching.Ben Lewis-5/+1
2020-02-19Check `RUSTC_CTFE_BACKTRACE` much less by generating fewer errorsWesley Wiser-6/+6
2020-02-18more English grammarRalf Jung-4/+4
2020-02-18miri value visitor: fix some wrong assumptions about layout; improve error me...Ralf Jung-157/+151
2020-02-16Determine type of intrinsics instead of assuming the destination type is the ...Ben Lewis-1/+8
2020-02-16Code review changes.Ben Lewis-1/+1
2020-02-15Fix emulate intrinsics return type.Ben Lewis-2/+1
2020-02-15Change const eval to return `ConstValue`, instead of `Const` as the type insi...Ben Lewis-18/+12
2020-02-13Rollup merge of #69126 - RalfJung:exact-div, r=oli-obkDylan DPC-2/+4
2020-02-13miri: fix exact_divRalf Jung-2/+4
2020-02-13move PanicInfo to mir moduleRalf Jung-3/+3
2020-02-13remove Panic variant from InterpErrorRalf Jung-32/+6
2020-02-12Rollup merge of #69002 - RalfJung:miri-op-overflow, r=oli-obk,wesleywiserDylan DPC-28/+46
2020-02-11Invert control in struct_lint_level.jumbatm-4/+7
2020-02-10remove outdated commentRalf Jung-1/+0
2020-02-09miri: equip unary_op with overflow detectionRalf Jung-9/+27
2020-02-09bring back extra check for int_min%-1Ralf Jung-0/+11
2020-02-09miri: simplify singed operator overflow detectionRalf Jung-24/+14
2020-02-04Implement remaining `unchecked` arithmetic intrinsicsDylan MacKenzie-2/+17
2020-01-31Auto merge of #67878 - Others:opt-3, r=Mark-Simulacrumbors-0/+3
2020-01-30Change opt-level from 2 back to 3Gregor Peach-0/+3
2020-01-24Print constants in `type_name` for const genericsvarkor-3/+2
2020-01-17Rollup merge of #68288 - RalfJung:fmt, r=oli-obkDylan DPC-28/+20
2020-01-16adjust Deref commentRalf Jung-7/+5
2020-01-16let rustfmt undo most of my edits :(Ralf Jung-29/+16
2020-01-16fix rustfmt falloutRalf Jung-36/+43
2020-01-15Auto merge of #67603 - oli-obk:no_mut_static_ref_from_const, r=RalfJungbors-11/+35
2020-01-15Address review commentsOliver Scherer-23/+3
2020-01-15TypoOliver Scherer-1/+1
2020-01-15Undo a change not neceesary for this bugfixOliver Scherer-10/+4
2020-01-15Update src/librustc_mir/interpret/intern.rsOliver Scherer-1/+2
2020-01-15Clean up commentOliver Scherer-4/+4
2020-01-15Elaborate on the details in some commentsOliver Scherer-9/+20