summary refs log tree commit diff
path: root/src/librustc_mir/interpret
AgeCommit message (Expand)AuthorLines
2019-02-24Rollup merge of #58511 - oli-obk:const_to_op, r=RalfJungMazdak Farrokhzad-63/+54
2019-02-23Rollup merge of #58667 - kenta7777:reduce-mir-code-repetition, r=petrochenkovMazdak Farrokhzad-2/+2
2019-02-23Rollup merge of #58658 - pmccarter:align_msg, r=matthewjasperMazdak Farrokhzad-2/+4
2019-02-23reduce an mir code repetition like (n << amt) >> amtkenta7777-2/+2
2019-02-22Change byte align message wording #58617Patrick McCarter-1/+1
2019-02-22Invalid byte alignment expected/provided in message #58617Patrick McCarter-2/+4
2019-02-21remark about the one place where place computation calls size_and_align_ofRalf Jung-2/+4
2019-02-21explain why we use static alignment in ref-to-place conversionRalf Jung-0/+4
2019-02-19reduced some code repetitions.kenta7777-6/+4
2019-02-16Limit the visibility further and expand on a commentOliver Scherer-2/+3
2019-02-16Update docs and visibilities of const to op methodsOliver Scherer-3/+3
2019-02-16Add `eval` prefix to clarify what the function doesOliver Scherer-2/+2
2019-02-16Make validity checking use `MPlaceTy` instead of `OpTy`Oliver Scherer-13/+12
2019-02-16Update src/librustc_mir/interpret/operand.rsRalf Jung-1/+1
2019-02-16Reuse the `Pointer` type instead of passing reassembling it at many use sitesOliver Scherer-2/+2
2019-02-16Burn some invariants we keep up into codeOliver Scherer-2/+2
2019-02-16Remove an intermediate value from discriminant readingOliver Scherer-3/+3
2019-02-16Expose const -> op functions that don't allow violiting const eval invariantsOliver Scherer-43/+34
2019-02-16Rollup merge of #58359 - taiki-e:impl_snapshot_for, r=oli-obkkennytm-8/+6
2019-02-13fix rebase falloutRalf Jung-1/+1
2019-02-13fix whitespaceRalf Jung-1/+1
2019-02-13make bin_op and unary_op APIs consistently work on ImmTyRalf Jung-54/+57
2019-02-13make OpTy.op private, and ImmTy.imm public insteadRalf Jung-40/+65
2019-02-12Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnikbors-54/+54
2019-02-12Auto merge of #58246 - pmccarter:master, r=oli-obkbors-1/+44
2019-02-11rename variable and add test directive for #58030Patrick McCarter-2/+2
2019-02-10rustc: doc commentsAlexander Regueiro-54/+54
2019-02-10Rollup merge of #58352 - RalfJung:macro, r=oli-obkGuillaume Gomez-3/+3
2019-02-11librustc_mir: use ? in impl_snapshot_for! macroTaiki Endo-8/+6
2019-02-10miri value visitor: use in macroRalf Jung-3/+3
2019-02-09operand-to-place copies should never be overlappingRalf Jung-1/+4
2019-02-08Saturating add/sub intrinsic emulation refactor/comments #58030Patrick McCarter-5/+12
2019-02-08librustc_mir => 2018Taiki Endo-13/+13
2019-02-07Refactor const saturating intrinsics emulation and add unstable feature attri...Patrick McCarter-39/+25
2019-02-06tidy line lengthPatrick McCarter-2/+4
2019-02-06fix saturating_sub() underflow for unsigned ints #58030Patrick McCarter-11/+11
2019-02-06tidy line length splitPatrick McCarter-1/+2
2019-02-06Allow const assignment for int saturating_sub() for #58030Patrick McCarter-4/+24
2019-02-05Allow const assignment for int saturating_add() calls for #58030Patrick McCarter-1/+28
2019-01-30Failure resistent trait implementingOliver Scherer-1/+2
2019-01-30Swap the names of `LocalValue` and `LocalState`Oliver Scherer-32/+32
2019-01-30Prefer macro over manual implementationOliver Scherer-12/+6
2019-01-30Eliminate an unwrapOliver Scherer-10/+11
2019-01-30Monomorphize types when not going through `layout_of_local`Oliver Scherer-2/+3
2019-01-30Indent fixupOliver Scherer-2/+2
2019-01-30The return place's layout is only used once per frame, so caching doesn't helpOliver Scherer-1/+1
2019-01-30Can't use `layout_of_local` for the frame currently being createdOliver Scherer-2/+3
2019-01-30Make priroda happy againOliver Scherer-1/+1
2019-01-30Allow `layout_of_local` to also use cached layoutsOliver Scherer-14/+19
2019-01-30Merge `locals` and `local_layouts` fieldsOliver Scherer-39/+68