microinstruction: Remove DecrementRemainingUses
This commit is contained in:
parent
639f7cfd2d
commit
7cac9519b0
2 changed files with 0 additions and 6 deletions
|
@ -246,11 +246,6 @@ bool Inst::AreAllArgsImmediates() const {
|
||||||
return std::all_of(args.begin(), args.begin() + NumArgs(), [](const auto& value){ return value.IsImmediate(); });
|
return std::all_of(args.begin(), args.begin() + NumArgs(), [](const auto& value){ return value.IsImmediate(); });
|
||||||
}
|
}
|
||||||
|
|
||||||
void Inst::DecrementRemainingUses() {
|
|
||||||
ASSERT_MSG(HasUses(), "Microinstruction doesn't have any remaining uses");
|
|
||||||
use_count--;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Inst::HasAssociatedPseudoOperation() const {
|
bool Inst::HasAssociatedPseudoOperation() const {
|
||||||
return carry_inst || overflow_inst || ge_inst;
|
return carry_inst || overflow_inst || ge_inst;
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,7 +81,6 @@ public:
|
||||||
|
|
||||||
size_t UseCount() const { return use_count; }
|
size_t UseCount() const { return use_count; }
|
||||||
bool HasUses() const { return use_count > 0; }
|
bool HasUses() const { return use_count > 0; }
|
||||||
void DecrementRemainingUses();
|
|
||||||
|
|
||||||
/// Determines if there is a pseudo-operation associated with this instruction.
|
/// Determines if there is a pseudo-operation associated with this instruction.
|
||||||
bool HasAssociatedPseudoOperation() const;
|
bool HasAssociatedPseudoOperation() const;
|
||||||
|
|
Loading…
Reference in a new issue