summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-08-13 21:57:51 +0000
committerOwen Anderson <resistor@mac.com>2009-08-13 21:57:51 +0000
commit41a750271b72216801366693bd0f41672892c487 (patch)
treea343608eefcb23d851fe1487f887743ac6d707ef /clang/lib/CodeGen/CodeGenFunction.h
parent3d693b22df1e369030323397a0be2a865a770abd (diff)
downloadbcm5719-llvm-41a750271b72216801366693bd0f41672892c487.tar.gz
bcm5719-llvm-41a750271b72216801366693bd0f41672892c487.zip
Update for LLVM API change.
llvm-svn: 78946
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 71861273b89..1ea19c6e13b 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -424,9 +424,9 @@ public:
llvm::Function *Parent=0,
llvm::BasicBlock *InsertBefore=0) {
#ifdef NDEBUG
- return llvm::BasicBlock::Create("", Parent, InsertBefore);
+ return llvm::BasicBlock::Create(VMContext, "", Parent, InsertBefore);
#else
- return llvm::BasicBlock::Create(Name, Parent, InsertBefore);
+ return llvm::BasicBlock::Create(VMContext, Name, Parent, InsertBefore);
#endif
}
OpenPOWER on IntegriCloud