summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-16 00:14:12 +0000
committerOwen Anderson <resistor@mac.com>2009-07-16 00:14:12 +0000
commit9f98d376128f6b953029faa2443b9e9a6984df2f (patch)
tree721288ab4b02328e289cfbc4f3aa47dd2c8c5868 /clang/lib/CodeGen
parent3ce33b8640ca08ea03de86b31d87f4584a76c647 (diff)
downloadbcm5719-llvm-9f98d376128f6b953029faa2443b9e9a6984df2f.tar.gz
bcm5719-llvm-9f98d376128f6b953029faa2443b9e9a6984df2f.zip
Update for LLVM API change.
llvm-svn: 75869
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index bd751adb3ea..377834d2479 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/lib/CodeGen/CGExpr.cpp
@@ -31,7 +31,7 @@ llvm::AllocaInst *CodeGenFunction::CreateTempAlloca(const llvm::Type *Ty,
const char *Name) {
if (!Builder.isNamePreserving())
Name = "";
- return new llvm::AllocaInst(VMContext, Ty, 0, Name, AllocaInsertPt);
+ return new llvm::AllocaInst(Ty, 0, Name, AllocaInsertPt);
}
/// EvaluateExprAsBool - Perform the usual unary conversions on the specified
OpenPOWER on IntegriCloud