File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
compiler/rustc_mir_dataflow/src Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -123,16 +123,18 @@ pub trait ValueAnalysis<'tcx> {
123
123
fn super_intrinsic (
124
124
& self ,
125
125
intrinsic : & NonDivergingIntrinsic < ' tcx > ,
126
- state : & mut State < Self :: Value > ,
126
+ _state : & mut State < Self :: Value > ,
127
127
) {
128
128
match intrinsic {
129
129
NonDivergingIntrinsic :: Assume ( ..) => {
130
130
// Could use this, but ignoring it is sound.
131
131
}
132
- NonDivergingIntrinsic :: CopyNonOverlapping ( CopyNonOverlapping { dst, .. } ) => {
133
- if let Some ( place) = dst. place ( ) {
134
- state. flood ( place. as_ref ( ) , self . map ( ) ) ;
135
- }
132
+ NonDivergingIntrinsic :: CopyNonOverlapping ( CopyNonOverlapping {
133
+ dst : _,
134
+ src : _,
135
+ count : _,
136
+ } ) => {
137
+ // This statement represents `*dst = *src`, `count` times.
136
138
}
137
139
}
138
140
}
You can’t perform that action at this time.
0 commit comments