summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
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