aboutsummaryrefslogtreecommitdiff
path: root/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
commite21c4b829c9e69c20f4baab4916e05cdb786d9ae (patch)
treee7d6eb27220565e8f19248e24fd135fbb79f1c44 /lib/CodeGen/CGExpr.cpp
parent3c8f153ae767fa55b2da74438c7f8ec370a06d6f (diff)
simplify and comment some code better. Make BindRuntimeGlobals
more optimistic that it will work (optimizing for the common case). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67438 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
-rw-r--r--lib/CodeGen/CGExpr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp
index 95cb53c1f7..d34b0f5ea3 100644
--- a/lib/CodeGen/CGExpr.cpp
+++ b/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);
}