diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-10-07 17:31:42 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-10-07 17:31:42 +0000 |
commit | 751ebf7b9aab628f654b78919c7fae697918462b (patch) | |
tree | bb2117d6f8f281c9a0c7320597a6b104a3767ebd /llvm/include/llvm-c | |
parent | 03f58ab706a4ca87a098b4e2476f61609a8cf514 (diff) | |
download | bcm5719-llvm-751ebf7b9aab628f654b78919c7fae697918462b.tar.gz bcm5719-llvm-751ebf7b9aab628f654b78919c7fae697918462b.zip |
C and Objective Caml bindings for GlobalVariable::isConstant.
llvm-svn: 42736
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r-- | llvm/include/llvm-c/Core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h index ee1f69f6111..3f8961b7651 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/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, |