summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-21 07:48:31 +0000
committerChris Lattner <sabre@nondot.org>2009-03-21 07:48:31 +0000
commit0c5e3132aa3a6a382368b1a87aa49aa487e79d03 (patch)
tree52322d51d796be8b0755aca4fddaa5fdf56bf6db /clang/lib/CodeGen/CGExpr.cpp
parent3637652ab3e2f3fea6766bb6d24e35b7fdfebf96 (diff)
downloadbcm5719-llvm-0c5e3132aa3a6a382368b1a87aa49aa487e79d03.tar.gz
bcm5719-llvm-0c5e3132aa3a6a382368b1a87aa49aa487e79d03.zip
simplify and comment some code better. Make BindRuntimeGlobals
more optimistic that it will work (optimizing for the common case). llvm-svn: 67438
Diffstat (limited to 'clang/lib/CodeGen/CGExpr.cpp')
-rw-r--r--clang/lib/CodeGen/CGExpr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index 95cb53c1f70..d34b0f5ea38 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/lib/CodeGen/CGExpr.cpp
@@ -29,6 +29,7 @@ using namespace CodeGen;
/// block.
llvm::AllocaInst *CodeGenFunction::CreateTempAlloca(const llvm::Type *Ty,
const char *Name) {
+ // FIXME: Should not pass name if names are disabled in IRBuilder.
return new llvm::AllocaInst(Ty, 0, Name, AllocaInsertPt);
}
OpenPOWER on IntegriCloud