[llvm-commits] CVS: llvm/include/llvm/Type.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Feb 16 21:04:01 PST 2004
Changes in directory llvm/include/llvm:
Type.h updated: 1.40 -> 1.41
---
Log message:
Add two missing pieces from last checkin
---
Diffs of the changes: (+3 -1)
Index: llvm/include/llvm/Type.h
diff -u llvm/include/llvm/Type.h:1.40 llvm/include/llvm/Type.h:1.41
--- llvm/include/llvm/Type.h:1.40 Mon Feb 16 20:58:36 2004
+++ llvm/include/llvm/Type.h Mon Feb 16 21:03:36 2004
@@ -93,7 +93,7 @@
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
@@ -108,6 +108,8 @@
/// isTypeAbstract - This method is used to calculate the Abstract bit.
///
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
More information about the llvm-commits
mailing list