fmt
This commit is contained in:
parent
eb3ccfd841
commit
363fce5a92
2 changed files with 3 additions and 2 deletions
|
|
@ -528,7 +528,8 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
|
|||
assert_eq!(dest_len, mask_len);
|
||||
|
||||
for i in 0..dest_len {
|
||||
let passthru = this.read_immediate(&this.project_index(&passthru, i)?.into())?;
|
||||
let passthru =
|
||||
this.read_immediate(&this.project_index(&passthru, i)?.into())?;
|
||||
let ptr = this.read_immediate(&this.project_index(&ptrs, i)?.into())?;
|
||||
let mask = this.read_immediate(&this.project_index(&mask, i)?.into())?;
|
||||
let dest = this.project_index(&dest, i)?;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
//! Tests for various intrinsics that do not fit anywhere else.
|
||||
|
||||
use std::intrinsics;
|
||||
use std::mem::{size_of, size_of_val, size_of_val_raw, discriminant};
|
||||
use std::mem::{discriminant, size_of, size_of_val, size_of_val_raw};
|
||||
|
||||
struct Bomb;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue