[meta] Rename Operand::is_pure_immediate into is_immediate;

This commit is contained in:
Benjamin Bouvier
2019-10-28 17:46:26 +01:00
parent b657aa57f6
commit 06b1817d89
3 changed files with 7 additions and 8 deletions

View File

@@ -56,7 +56,7 @@ impl Operand {
}
/// Returns true if the operand has an immediate kind.
pub fn is_pure_immediate(&self) -> bool {
pub fn is_immediate(&self) -> bool {
match self.kind.fields {
OperandKindFields::ImmEnum(_) | OperandKindFields::ImmValue => true,
_ => false,