mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Add two missing pieces from last checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11513 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3e3bcbd222
commit
fcdb2c2a7f
@ -93,7 +93,7 @@ private:
|
|||||||
const Type *getForwardedTypeInternal() const;
|
const Type *getForwardedTypeInternal() const;
|
||||||
protected:
|
protected:
|
||||||
/// ctor is protected, so only subclasses can create Type objects...
|
/// ctor is protected, so only subclasses can create Type objects...
|
||||||
Type(PrimitiveID id);
|
Type(const std::string &Name, PrimitiveID id);
|
||||||
virtual ~Type() {}
|
virtual ~Type() {}
|
||||||
|
|
||||||
/// setName - Associate the name with this type in the symbol table, but don't
|
/// setName - Associate the name with this type in the symbol table, but don't
|
||||||
@ -109,6 +109,8 @@ protected:
|
|||||||
///
|
///
|
||||||
bool isTypeAbstract();
|
bool isTypeAbstract();
|
||||||
|
|
||||||
|
unsigned getRefCount() const { return RefCount; }
|
||||||
|
|
||||||
/// ForwardType - This field is used to implement the union find scheme for
|
/// 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
|
/// abstract types. When types are refined to other types, this field is set
|
||||||
/// to the more refined type. Only abstract types can be forwarded.
|
/// to the more refined type. Only abstract types can be forwarded.
|
||||||
|
Loading…
Reference in New Issue
Block a user