Revert "Implement global merge optimization for global variables."
[oota-llvm.git] / include / llvm / IR / GlobalAlias.h
index 7aa071494950605b3c9d19473ff817e2753ab8ae..5aa42612562697914034328e05dee85c88d2ccbc 100644 (file)
@@ -82,10 +82,6 @@ public:
   static inline bool classof(const Value *V) {
     return V->getValueID() == Value::GlobalAliasVal;
   }
-
-  // return the constant offset of an expression, with which this global var
-  // has alias.
-  uint64_t calculateOffset(const DataLayout &DL) const;
 };
 
 template <>