diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-08 20:52:20 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-08 20:52:20 +0000 |
commit | aac8705c046f01a264a4f82832895a5d9e695633 (patch) | |
tree | 5ceb0065a0ddc595b7b1474e53e9b52cbddc6608 /lib/CodeGen/CodeGenFunction.cpp | |
parent | 1c431b323d776362490bbf7cc796b74fedaf19f2 (diff) |
Update for IRBuilder API change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75041 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index c3f9364e7a..7b08216bab 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -27,6 +27,7 @@ using namespace CodeGen; CodeGenFunction::CodeGenFunction(CodeGenModule &cgm) : BlockFunction(cgm, *this, Builder), CGM(cgm), Target(CGM.getContext().Target), + Builder(cgm.getModule().getContext()), DebugInfo(0), SwitchInsn(0), CaseRangeBlock(0), InvokeDest(0), CXXThisDecl(0) { LLVMIntTy = ConvertType(getContext().IntTy); |