Add two missing pieces from last checkin

llvm-svn: 11513
This commit is contained in:
Chris Lattner 2004-02-17 03:03:36 +00:00
parent c14686440f
commit 946e46596f
1 changed files with 3 additions and 1 deletions

View File

@ -93,7 +93,7 @@ private:
const Type *getForwardedTypeInternal() const;
protected:
/// ctor is protected, so only subclasses can create Type objects...
Type(PrimitiveID id);
Type(const std::string &Name, PrimitiveID id);
virtual ~Type() {}
/// setName - Associate the name with this type in the symbol table, but don't
@ -109,6 +109,8 @@ protected:
///
bool isTypeAbstract();
unsigned getRefCount() const { return RefCount; }
/// ForwardType - This field is used to implement the union find scheme for
/// abstract types. When types are refined to other types, this field is set
/// to the more refined type. Only abstract types can be forwarded.