about summary refs log tree commit diff
path: root/src/librustc_mir/interpret
AgeCommit message (Expand)AuthorLines
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
2019-12-30Auto merge of #67667 - wesleywiser:speed_up_trivially_valid_constants, r=oli-obkbors-3/+12
2019-12-29Resolve long compile times when evaluating always valid constantsWesley Wiser-3/+12
2019-12-28Avoid copying some undef memory in MIRSantiago Pastorino-24/+28
2019-12-27Avoid memory copy logic for zstsSantiago Pastorino-1/+9
2019-12-26Fix rebase falloutOliver Scherer-1/+6
2019-12-26Use the targetted const eval functionsOliver Scherer-9/+5
2019-12-26Reintroduce the recursion commentOliver Scherer-0/+4
2019-12-26Documentation nitOliver Scherer-1/+2
2019-12-26Add a `const_eval` helper to `InterpCx`Oliver Scherer-20/+23
2019-12-26Explain why `const_eval` is ok hereOliver Scherer-0/+7
2019-12-26TypoOliver Scherer-1/+1
2019-12-26Remove unintended noisy log statementOliver Scherer-1/+1
2019-12-26Explain the currently necessary existance of `TransmuteSizeDiff`Oliver Scherer-0/+4
2019-12-26Explain what we are doing with parameter environments for staticsOliver Scherer-5/+5