Bug 892594 - Fix LIR-Common.h to work with clang++ 4.1 r=nbp

This commit is contained in:
Adam Roach [:abr] 2013-07-11 15:38:58 -05:00
parent 238365cb48
commit 64a655c353

View File

@ -226,13 +226,13 @@ class LControlInstructionHelper : public LInstructionHelper<0, Operands, Temps>
MBasicBlock *successors_[Succs];
public:
size_t numSuccessors() const MOZ_FINAL MOZ_OVERRIDE { return Succs; }
virtual size_t numSuccessors() const MOZ_FINAL MOZ_OVERRIDE { return Succs; }
MBasicBlock *getSuccessor(size_t i) const MOZ_FINAL MOZ_OVERRIDE {
virtual MBasicBlock *getSuccessor(size_t i) const MOZ_FINAL MOZ_OVERRIDE {
return successors_[i];
}
void setSuccessor(size_t i, MBasicBlock *successor) MOZ_FINAL MOZ_OVERRIDE {
virtual void setSuccessor(size_t i, MBasicBlock *successor) MOZ_FINAL MOZ_OVERRIDE {
successors_[i] = successor;
}
};