remove a wrong bitwise negation
This commit is contained in:
parent
bc76256efb
commit
a676afafa5
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ trait EvalContextPrivExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
|
||||||
state.last_key = Some(key);
|
state.last_key = Some(key);
|
||||||
trace!("Running TLS dtor {:?} on {:?} at {:?}", instance, ptr, active_thread);
|
trace!("Running TLS dtor {:?} on {:?} at {:?}", instance, ptr, active_thread);
|
||||||
assert!(
|
assert!(
|
||||||
!ptr.to_target_usize(this).unwrap() != 0,
|
ptr.to_target_usize(this).unwrap() != 0,
|
||||||
"data can't be NULL when dtor is called!"
|
"data can't be NULL when dtor is called!"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue