rm custom intrinsics::discriminant_value
This commit is contained in:
parent
e6a0c60a0f
commit
6fd3c9174c
@ -248,12 +248,6 @@ fn call_intrinsic(
|
||||
}
|
||||
}
|
||||
|
||||
"discriminant_value" => {
|
||||
let place = this.deref_operand(args[0])?;
|
||||
let discr_val = this.read_discriminant(place.into())?.0;
|
||||
this.write_scalar(Scalar::from_uint(discr_val, dest.layout.size), dest)?;
|
||||
}
|
||||
|
||||
#[rustfmt::skip]
|
||||
| "sinf32"
|
||||
| "fabsf32"
|
||||
|
Loading…
Reference in New Issue
Block a user