From 8757bedd41ca50506191694f49ae246124e0c853 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Fri, 25 Jul 2008 17:26:48 +0000 Subject: [PATCH] Add predicate for GhostLinkage, used by the JIT llvm-svn: 54027 --- include/llvm/GlobalValue.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/llvm/GlobalValue.h b/include/llvm/GlobalValue.h index 6b6610b724f..1fd899ae7b8 100644 --- a/include/llvm/GlobalValue.h +++ b/include/llvm/GlobalValue.h @@ -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; }