Make CodeGen libs -pedantic clean.

llvm-svn: 31387
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp
index e44328d..40518eb 100644
--- a/llvm/lib/CodeGen/DwarfWriter.cpp
+++ b/llvm/lib/CodeGen/DwarfWriter.cpp
@@ -688,7 +688,7 @@
 
   /// Profile - Used to gather unique data for the value folding set.
   ///
-  virtual void DIEBlock::Profile(FoldingSetNodeID &ID) {
+  virtual void Profile(FoldingSetNodeID &ID) {
     ID.AddInteger(isBlock);
     DIE::Profile(ID);
   }