Add predicate for GhostLinkage, used by the JIT

llvm-svn: 54027
This commit is contained in:
Nate Begeman 2008-07-25 17:26:48 +00:00
parent 628ab8c673
commit 5f0cfd0968
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ public:
bool hasDLLImportLinkage() const { return Linkage == DLLImportLinkage; }
bool hasDLLExportLinkage() const { return Linkage == DLLExportLinkage; }
bool hasExternalWeakLinkage() const { return Linkage == ExternalWeakLinkage; }
bool hasGhostLinkage() const { return Linkage == GhostLinkage; }
void setLinkage(LinkageTypes LT) { Linkage = LT; }
LinkageTypes getLinkage() const { return Linkage; }