summary refs log tree commit diff
path: root/src/librustc_mir/interpret
AgeCommit message (Expand)AuthorLines
2020-03-09Add FIXMEOliver Scherer-0/+2
2020-03-09Fix #69191Felix S. Klock II-0/+6
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
2020-01-15Elaborate on commentsOliver Scherer-0/+14
2020-01-15Promoteds can contain raw pointers, but these must still only point to immuta...Oliver Scherer-12/+36
2020-01-14Untangle ZST validation from integer validation and generalize it to all zstsOliver Scherer-11/+7
2020-01-13Auto merge of #68088 - oli-obk:fix_miri, r=RalfJungbors-3/+8
2020-01-13Early abort validation of arrays of zsts because there is no data to be checkedOliver Scherer-3/+8
2020-01-10Remove an outdated commentOliver Scherer-1/+0
2020-01-10Promoteds also need param envs.Oliver Scherer-13/+15
2020-01-10Remove PlaceBase enum and make Place base field be local: LocalSantiago Pastorino-13/+9
2020-01-10Remove Static from PlaceBaseSantiago Pastorino-32/+0
2020-01-10Remove StaticKindSantiago Pastorino-28/+22
2020-01-10Remove StaticKind::PromotedSantiago Pastorino-16/+3
2020-01-10Promote `Ref`s to constants instead of staticSantiago Pastorino-9/+18
2020-01-10Revert const_eval call to use const_eval_raw to avoid const validation cyclesSantiago Pastorino-1/+6
2020-01-09Rename `Unsized` to `Meta`Oliver Scherer-22/+22
2020-01-09Update src/librustc_mir/interpret/place.rsOliver Scherer-0/+1
2020-01-07Actually use the poison valueOliver Scherer-7/+3
2020-01-07Add more documentationOliver Scherer-0/+2
2020-01-07Add warning label to `try_as_mplace`Oliver Scherer-0/+4
2020-01-07Remove a bunch of dead functions and make some functions privateOliver Scherer-37/+3
2020-01-07Poison any `MemPlace` created from a zst Operand (or otherwise via `MPlaceTy:...Oliver Scherer-43/+102
2020-01-07Move `to_const_value` from `MPlaceTy` to its only use siteOliver Scherer-16/+1
2020-01-07Fix an ICE happening due code assuming that `MPlaceTy` cannot have integer ad...Oliver Scherer-3/+23
2020-01-07Remove a ZST special casing that is not necessary anymoreOliver Scherer-6/+2
2020-01-07Automatically prefer integer addresses for zst MPlaceOliver Scherer-50/+22
2020-01-06Auto merge of #67886 - Centril:rustc_hir_canon_imports, r=nagisabors-7/+7
2020-01-05Use Instance.ty_env instead of Instance.monomorphic_ty in interpreterAaron Hill-1/+1
2020-01-05Rename Instance.ty to Instance.monomorphic_tyAaron Hill-1/+1
2020-01-05Fix ICE involving calling `Instance.ty` during const evaluationAaron Hill-1/+1
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-7/+7
2020-01-04Rollup merge of #67137 - anp:tracked-panic-internals, r=eddybDylan DPC-38/+19
2020-01-04Restrict visibility of location_triple_for_span.Adam Perry-1/+1
2020-01-04Update ABI in const impls of panic_fn/begin_panic_fn.Adam Perry-38/+19
2020-01-04core and std macros and panic internals use panic::Location::caller.Adam Perry-1/+1
2020-01-02Normalize `syntax::symbol` imports.Mazdak Farrokhzad-1/+1
2020-01-02Normalize `syntax::source_map` imports.Mazdak Farrokhzad-3/+3
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-6/+6