[llvm-commits] [llvm] r54027 - /llvm/trunk/include/llvm/GlobalValue.h
Nate Begeman
natebegeman at mac.com
Fri Jul 25 10:26:49 PDT 2008
Author: sampo
Date: Fri Jul 25 12:26:48 2008
New Revision: 54027
URL: http://llvm.org/viewvc/llvm-project?rev=54027&view=rev
Log:
Add predicate for GhostLinkage, used by the JIT
Modified:
llvm/trunk/include/llvm/GlobalValue.h
Modified: llvm/trunk/include/llvm/GlobalValue.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/GlobalValue.h?rev=54027&r1=54026&r2=54027&view=diff
==============================================================================
--- llvm/trunk/include/llvm/GlobalValue.h (original)
+++ llvm/trunk/include/llvm/GlobalValue.h Fri Jul 25 12:26:48 2008
@@ -107,6 +107,7 @@
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; }
More information about the llvm-commits
mailing list