summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2007-10-07 17:31:42 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2007-10-07 17:31:42 +0000
commitc84c16be9b29b4f805b92bfc2d93e2dfaa952f8f (patch)
treeb1151b7c8c7899327eda9b24b4903fd8b067f442 /include
parentf16c595252de363e0e1f6895a5a626bc30017053 (diff)
downloadexternal_llvm-c84c16be9b29b4f805b92bfc2d93e2dfaa952f8f.zip
external_llvm-c84c16be9b29b4f805b92bfc2d93e2dfaa952f8f.tar.gz
external_llvm-c84c16be9b29b4f805b92bfc2d93e2dfaa952f8f.tar.bz2
C and Objective Caml bindings for GlobalVariable::isConstant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm-c/Core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index ee1f69f..3f8961b 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -324,6 +324,8 @@ LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar);
void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal);
int LLVMIsThreadLocal(LLVMValueRef GlobalVar);
void LLVMSetThreadLocal(LLVMValueRef GlobalVar, int IsThreadLocal);
+int LLVMIsGlobalConstant(LLVMValueRef GlobalVar);
+void LLVMSetGlobalConstant(LLVMValueRef GlobalVar, int IsConstant);
/* Operations on functions */
LLVMValueRef LLVMAddFunction(LLVMModuleRef M, const char *Name,