microinstruction: Remove DecrementRemainingUses
This commit is contained in:
parent
639f7cfd2d
commit
7cac9519b0
@ -246,11 +246,6 @@ bool Inst::AreAllArgsImmediates() const {
|
||||
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 {
|
||||
return carry_inst || overflow_inst || ge_inst;
|
||||
}
|
||||
|
@ -81,7 +81,6 @@ public:
|
||||
|
||||
size_t UseCount() const { return use_count; }
|
||||
bool HasUses() const { return use_count > 0; }
|
||||
void DecrementRemainingUses();
|
||||
|
||||
/// Determines if there is a pseudo-operation associated with this instruction.
|
||||
bool HasAssociatedPseudoOperation() const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user