name change requested by review of previous patch
[oota-llvm.git] / include / llvm / GlobalVariable.h
index 303e57f99a584d6a524317c41d9c72bd31e87b65..00d4acb66daf53d5886cc5af540a8bfa74f4f59e 100644 (file)
@@ -107,12 +107,12 @@ public:
   /// removeFromParent - This method unlinks 'this' from the containing module,
   /// but does not delete it.
   ///
-  virtual void removeFromParent();
+  void removeFromParent();
 
   /// eraseFromParent - This method unlinks 'this' from the containing module
   /// and deletes it.
   ///
-  virtual void eraseFromParent();
+  void eraseFromParent();
 
   /// Override Constant's implementation of this method so we can
   /// replace constant initializers.