diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-08-09 02:13:58 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-08-09 02:13:58 +0000 |
commit | f068263cbc523a3d80f08735d92b347680707aa0 (patch) | |
tree | 8aca4c1a06d1dd7ac74183351f905d49c2847ea9 /lib/VMCore/Core.cpp | |
parent | 21491edbf4027df4db559eb1a9aa8fbf3779cfab (diff) | |
download | external_llvm-f068263cbc523a3d80f08735d92b347680707aa0.zip external_llvm-f068263cbc523a3d80f08735d92b347680707aa0.tar.gz external_llvm-f068263cbc523a3d80f08735d92b347680707aa0.tar.bz2 |
Delete a redundant binding, LLVMHasInitializer.
Please use !LLVMIsDeclaration instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54572 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Core.cpp')
-rw-r--r-- | lib/VMCore/Core.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/VMCore/Core.cpp b/lib/VMCore/Core.cpp index 4e0ca41..bc7137b 100644 --- a/lib/VMCore/Core.cpp +++ b/lib/VMCore/Core.cpp @@ -632,10 +632,6 @@ void LLVMDeleteGlobal(LLVMValueRef GlobalVar) { unwrap<GlobalVariable>(GlobalVar)->eraseFromParent(); } -int LLVMHasInitializer(LLVMValueRef GlobalVar) { - return unwrap<GlobalVariable>(GlobalVar)->hasInitializer(); -} - LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar) { return wrap(unwrap<GlobalVariable>(GlobalVar)->getInitializer()); } |