cranelift: Remove is_pic predicate from x86 backend (#5548)

This is still present as shared flags and we don't use the predicate anywhere.
This commit is contained in:
Afonso Bordado
2023-01-09 18:04:45 +00:00
committed by GitHub
parent 437f448a8d
commit f845ebb450
2 changed files with 0 additions and 11 deletions

View File

@@ -181,7 +181,6 @@ struct ProtoSetting {
pub(crate) enum PredicateNode {
OwnedBool(BoolSettingIndex),
SharedBool(&'static str, &'static str),
Not(Box<PredicateNode>),
And(Box<PredicateNode>, Box<PredicateNode>),
}
@@ -211,7 +210,6 @@ impl PredicateNode {
PredicateNode::And(ref lhs, ref rhs) => {
format!("{} && {}", lhs.render(group), rhs.render(group))
}
PredicateNode::Not(ref node) => format!("!({})", node.render(group)),
}
}
}