Miri: adopt to new intrinsic types
This commit is contained in:
parent
ceead1bda6
commit
e4a854e495
@ -163,7 +163,7 @@ enum Op<'a> {
|
||||
}
|
||||
}
|
||||
Op::Numeric(name) => {
|
||||
this.numeric_intrinsic(name, op.to_scalar(), op.layout)?
|
||||
this.numeric_intrinsic(name, op.to_scalar(), op.layout, op.layout)?
|
||||
}
|
||||
};
|
||||
this.write_scalar(val, &dest)?;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
mod rusti {
|
||||
extern "rust-intrinsic" {
|
||||
pub fn ctlz_nonzero<T>(x: T) -> T;
|
||||
pub fn ctlz_nonzero<T>(x: T) -> u32;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
mod rusti {
|
||||
extern "rust-intrinsic" {
|
||||
pub fn cttz_nonzero<T>(x: T) -> T;
|
||||
pub fn cttz_nonzero<T>(x: T) -> u32;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user