about summary refs log tree commit diff
path: root/src/librustc_mir/interpret
AgeCommit message (Collapse)AuthorLines
2019-06-19Prevent cyclic locks of `alloc_map`Oliver Scherer-1/+4
2019-06-19Make interning explicitly care about types and the mutability of memoryOliver Scherer-107/+427
2019-06-19Fixmes and style fixesOliver Scherer-0/+5
2019-06-18rustc: reintroduce lifetime bounds where necessary.Eduard-Mihai Burtescu-1/+1
2019-06-18rustc: remove 'x: 'y bounds (except from comments/strings).Eduard-Mihai Burtescu-4/+4
2019-06-17Auto merge of #61915 - Centril:rollup-oire3i8, r=Centrilbors-2/+2
Rollup of 5 pull requests Successful merges: - #61702 (test more variants of enum-int-casting) - #61836 (Replace some uses of NodeId with HirId) - #61885 (Help LLVM better optimize slice::Iter(Mut)::len) - #61893 (make `Weak::ptr_eq`s into methods) - #61908 (don't ICE on large files) Failed merges: r? @ghost
2019-06-17replace some uses of NodeId with HirIdljedrz-2/+2
2019-06-16Add special behaviour when int is zeroChristian Poveda-2/+6
2019-06-16Replace to_bits by force_bits and move size as parameterChristian Poveda-6/+14
2019-06-16Change to_ptr by force_ptrChristian Poveda-7/+7
2019-06-16Add force_bits and force_ptr methodsChristian Poveda-1/+46
2019-06-14Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-5/+3
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-15/+15
2019-06-12Handle index out of bound errors during const eval without panicEsteban Küber-2/+6
2019-06-12Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-50/+24
2019-06-12rustc: remove some unnecessary lifetimes in -> TyCtxt methods.Eduard-Mihai Burtescu-2/+2
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-6/+6
2019-06-12Fix fallout from `deny(unused_lifetimes)`.Eduard-Mihai Burtescu-3/+3
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-103/+99
2019-06-11rustc_mir: deny(unused_lifetimes).Eduard-Mihai Burtescu-3/+3
2019-06-11Auto merge of #61673 - RalfJung:miri-no-hard-float, r=eddyb,oli-obkbors-108/+92
Miri: convert to/from apfloat instead of host floats Cc @oli-obk @eddyb
2019-06-09Changed usages of `mir` in librustc::mir and librustc_mir to `body`Jad Ghalayini-25/+25
2019-06-09forgot about multivariant enum castsRalf Jung-4/+7
2019-06-09make floating point casts nicer with genericsRalf Jung-38/+42
2019-06-09make unary float negation slightly nicerRalf Jung-5/+3
2019-06-09trait-ize binary_float_opRalf Jung-44/+35
2019-06-08Scalar: only convert to/from soft-float types, not to/from hard-floatsRalf Jung-37/+25
2019-06-08fix rebase falloutRalf Jung-1/+1
2019-06-08rename EvalSnapshot -> InterpSnapshotRalf Jung-12/+12
2019-06-08rename EvalResult -> InterpResult and EvalError -> InterpErrorInfoRalf Jung-174/+177
2019-06-06[const-prop] Handle Rvalue::RefWesley Wiser-0/+17
2019-06-05Auto merge of #61498 - TankhouseAle:const-fn-type-name, r=oli-obkbors-6/+23
Add "type_name" support in emulate_intrinsic() I did some dumb Git things and deleted my original fork repo semi-accidentally (but probably for the best as I'd messed up the history.) This is the same issue as #61399, which was obviously auto-closed, to be clear.
2019-06-04Auto merge of #61454 - lzutao:ice-rotate_left, r=RalfJungbors-1/+1
Fix integer overflow in rotate_left Closes #61406 r? @RalfJung
2019-06-04Fix integer overflow in rotate_leftLzu Tao-1/+1
2019-06-04Auto merge of #61437 - christianpoveda:const-eval-indirects, ↵bors-1/+1
r=wesleywiser,oli-obk Add const-eval support for indirects r? @wesleywiser
2019-06-03Add const-eval support for indirectsChristian Poveda-1/+1
2019-06-04Rollup merge of #61404 - RalfJung:miri-unsize, r=oli-obkMazdak Farrokhzad-15/+3
miri unsizing: fix projecting into a field of an operand I don't know why this open-coded an operand field projection. Probably this code predates one or more of my refactorings. Fixes https://github.com/rust-lang/miri/issues/754 r? @oli-obk
2019-06-03Re-add needed Immediate dependencyTankhouseAle-1/+1
2019-06-03Re-add type_name.rs changesTankhouseAle-5/+12
2019-06-03Re-add intrinsics.rs changesTankhouseAle-0/+10
2019-06-02query-fy type_nameMark Mansi-1/+1
2019-06-02deduplicate ty::Instance constructorsMark Mansi-3/+5
2019-06-02Auto merge of #61278 - RalfJung:miri-tag-allocations, r=oli-obkbors-181/+184
Miri: give machine the chance to tag all allocations r? @oli-obk The Miri side of this is at https://github.com/rust-lang/rust/pull/61278.
2019-06-02Auto merge of #61276 - eddyb:kill-res-upvar, r=petrochenkovbors-2/+1
rustc: remove Res::Upvar. By keeping track of the current "`body_owner`" (the `DefId` of the current fn/closure/const/etc.) in several passes, `Res::Upvar` and `hir::Upvar` don't need to contain contextual information about the closure. By leveraging [`indexmap`](https://docs.rs/indexmap), the list of upvars for a given closure can now also be queried, to check whether a local variable is a closure capture, and so `Res::Upvar` can be merged with `Res::Local`. And finally, the `tcx.upvars(...)` query now collects upvars from HIR, without relying on `rustc_resolve`. r? @petrochenkov cc @varkor @davidtwco
2019-06-02update commentsRalf Jung-1/+3
2019-06-02FIXMERalf Jung-1/+1
2019-06-02fix indentationRalf Jung-3/+3
2019-06-02fix commentsRalf Jung-2/+3
2019-06-02no longer assume that there is a default tag: give the machine the chance to ↵Ralf Jung-172/+168
tag all allocations
2019-06-02cache tag for vtable; fn_alloc's don't have a stack nor tagRalf Jung-10/+14