Split GlobalValue into GlobalValue and GlobalObject.
[oota-llvm.git] / include / llvm / IR / GlobalAlias.h
index ad02996e2dcb6e27bd0cfb95a4e4269dc8603417..5aa42612562697914034328e05dee85c88d2ccbc 100644 (file)
@@ -68,8 +68,8 @@ public:
   /// This method tries to ultimately resolve the alias by going through the
   /// aliasing chain and trying to find the very last global. Returns NULL if a
   /// cycle was found.
-  GlobalValue *getAliasedGlobal();
-  const GlobalValue *getAliasedGlobal() const {
+  GlobalObject *getAliasedGlobal();
+  const GlobalObject *getAliasedGlobal() const {
     return const_cast<GlobalAlias *>(this)->getAliasedGlobal();
   }