]> git.lizzy.rs Git - rust.git/commit
make ptr_op finally reponsible for all ops involving pointers; make ValTy constructor...
authorRalf Jung <post@ralfj.de>
Mon, 27 Aug 2018 23:14:29 +0000 (01:14 +0200)
committerRalf Jung <post@ralfj.de>
Wed, 29 Aug 2018 06:44:37 +0000 (08:44 +0200)
commit1d498d5a4311524fe89a2a0cc8056839a049b28c
treeb28174c238fef108c6c7458bca40ea4c7bed1da1
parentec056d51889349818138d0c92cebcd2eeb4eb730
make ptr_op finally reponsible for all ops involving pointers; make ValTy constructor private

Also remove public OpTy constructors, but a pub(crate) constructor remains
src/librustc_mir/const_eval.rs
src/librustc_mir/interpret/cast.rs
src/librustc_mir/interpret/machine.rs
src/librustc_mir/interpret/operand.rs
src/librustc_mir/interpret/operator.rs
src/librustc_mir/interpret/terminator.rs
src/librustc_mir/transform/const_prop.rs