The TargetData is not used for the isPowerOfTwo determination. It has never
[oota-llvm.git] / include / llvm / GlobalValue.h
index 58d02576c17e960ad763c3008a9727ed839c57d4..7f7f74b1e2da5e34b33c147c99871cfbb4fef11b 100644 (file)
@@ -287,7 +287,6 @@ public:
   inline const Module *getParent() const { return Parent; }
 
   // Methods for support type inquiry through isa, cast, and dyn_cast:
-  static inline bool classof(const GlobalValue *) { return true; }
   static inline bool classof(const Value *V) {
     return V->getValueID() == Value::FunctionVal ||
            V->getValueID() == Value::GlobalVariableVal ||