1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

New methods

llvm-svn: 15462
This commit is contained in:
Chris Lattner 2004-08-04 04:45:42 +00:00
parent 83c911936d
commit a5d89de2da
2 changed files with 8 additions and 0 deletions

View 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();

View 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; }