mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 892594 - Fix LIR-Common.h to work with clang++ 4.1 r=nbp
This commit is contained in:
parent
238365cb48
commit
64a655c353
@ -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;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user