New methods
authorChris Lattner <sabre@nondot.org>
Wed, 4 Aug 2004 04:45:42 +0000 (04:45 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 4 Aug 2004 04:45:42 +0000 (04:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15462 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/AbstractTypeUser.h
include/llvm/Value.h

index a06252dc73d13cbc74b38e884da351f644095884..26620eb85f57a03952f4209b5459b67efde441e6 100644 (file)
@@ -164,6 +164,10 @@ public:
     return operator=(H.Ty);
   }
 
+  /// getRawType - This should only be used to implement the vmcore library.
+  ///
+  const Type *getRawType() const { return Ty; }
+
 private:
   void addRef();
   void dropRef();
index f12eac3ed186cd4069096af0af24182254f12573..f5381efd0d75d91c087178296a8c56ded1ac3733 100644 (file)
@@ -141,6 +141,10 @@ public:
     return true; // Values are always values.
   }
 
+  /// getRawType - This should only be used to implement the vmcore library.
+  ///
+  const Type *getRawType() const { return Ty.getRawType(); }
+
 private:
   /// FIXME: this is a gross hack, needed by another gross hack.  Eliminate!
   void setValueType(unsigned VT) { SubclassID = VT; }