diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-12-27 18:25:59 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-12-27 18:25:59 +0000 |
commit | 1d2e49cd84290e19ffcf1011a650cf04dac6a1cd (patch) | |
tree | 1a796c4e9460fee476632199fe0ffa53b952e31a /lib/VMCore/Core.cpp | |
parent | a09a89983bf51aa70d3067282e4817ec3057eb51 (diff) | |
download | external_llvm-1d2e49cd84290e19ffcf1011a650cf04dac6a1cd.zip external_llvm-1d2e49cd84290e19ffcf1011a650cf04dac6a1cd.tar.gz external_llvm-1d2e49cd84290e19ffcf1011a650cf04dac6a1cd.tar.bz2 |
Switch the bindings to use LLVMFoldingBuilder.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45367 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Core.cpp')
-rw-r--r-- | lib/VMCore/Core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Core.cpp b/lib/VMCore/Core.cpp index 2b54fb3..6c57d74 100644 --- a/lib/VMCore/Core.cpp +++ b/lib/VMCore/Core.cpp @@ -735,7 +735,7 @@ LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index) { /*===-- Instruction builders ----------------------------------------------===*/ LLVMBuilderRef LLVMCreateBuilder() { - return wrap(new LLVMBuilder()); + return wrap(new LLVMFoldingBuilder()); } void LLVMPositionBuilderBefore(LLVMBuilderRef Builder, LLVMValueRef Instr) { |