[PPC64] Fix PR19893 - improve code generation for local function addresses
[oota-llvm.git] / lib / Target / PowerPC / PPCBranchSelector.cpp
index 8a851d85255b7934447e59e1802e2d844007d7b7..ee906712ee02a62297ba2b4aff6493704b483b6e 100644 (file)
@@ -43,9 +43,9 @@ namespace {
     /// BlockSizes - The sizes of the basic blocks in the function.
     std::vector<unsigned> BlockSizes;
 
-    virtual bool runOnMachineFunction(MachineFunction &Fn);
+    bool runOnMachineFunction(MachineFunction &Fn) override;
 
-    virtual const char *getPassName() const {
+    const char *getPassName() const override {
       return "PowerPC Branch Selector";
     }
   };