microinstruction: Remove DecrementRemainingUses

This commit is contained in:
MerryMage 2017-11-27 20:10:23 +00:00
parent 639f7cfd2d
commit 7cac9519b0
2 changed files with 0 additions and 6 deletions

View file

@ -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;
}

View file

@ -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;