Minor fixes
This commit is contained in:
parent
1c6a9351d8
commit
f10803c81c
2 changed files with 3 additions and 2 deletions
|
@ -975,7 +975,8 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
|
|||
}
|
||||
}
|
||||
mir::InlineAsmOperand::SymFn { ref value } => {
|
||||
if let ty::FnDef(def_id, substs) = value.literal.ty.kind {
|
||||
let literal = self.monomorphize(&value.literal);
|
||||
if let ty::FnDef(def_id, substs) = literal.ty.kind {
|
||||
let instance = ty::Instance::resolve(
|
||||
bx.tcx(),
|
||||
ty::ParamEnv::reveal_all(),
|
||||
|
|
|
@ -228,7 +228,6 @@ declare_features! (
|
|||
(active, hexagon_target_feature, "1.27.0", Some(44839), None),
|
||||
(active, powerpc_target_feature, "1.27.0", Some(44839), None),
|
||||
(active, mips_target_feature, "1.27.0", Some(44839), None),
|
||||
(active, riscv_target_feature, "1.27.0", Some(44839), None),
|
||||
(active, avx512_target_feature, "1.27.0", Some(44839), None),
|
||||
(active, mmx_target_feature, "1.27.0", Some(44839), None),
|
||||
(active, sse4a_target_feature, "1.27.0", Some(44839), None),
|
||||
|
@ -239,6 +238,7 @@ declare_features! (
|
|||
(active, movbe_target_feature, "1.34.0", Some(44839), None),
|
||||
(active, rtm_target_feature, "1.35.0", Some(44839), None),
|
||||
(active, f16c_target_feature, "1.36.0", Some(44839), None),
|
||||
(active, riscv_target_feature, "1.45.0", Some(44839), None),
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// feature-group-end: actual feature gates (target features)
|
||||
|
|
Loading…
Add table
Reference in a new issue