Replace a virtual with an override.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208242 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-05-07 19:52:32 +00:00
parent 8b915bad69
commit b507e6601d

View File

@@ -114,8 +114,8 @@ public:
return Result; return Result;
} }
int stubsAllocated; int stubsAllocated;
virtual uint8_t *allocateStub(const GlobalValue* F, unsigned StubSize, uint8_t *allocateStub(const GlobalValue *F, unsigned StubSize,
unsigned Alignment) { unsigned Alignment) override {
stubsAllocated++; stubsAllocated++;
return Base->allocateStub(F, StubSize, Alignment); return Base->allocateStub(F, StubSize, Alignment);
} }