aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGCXX.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-11-13 01:38:36 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-11-13 01:38:36 +0000
commit9615ecb44f549ae9fa2b4db6ff46bc78befbf62c (patch)
treeff7e9707a4ca692c776236f3a65426a0f108ac13 /lib/CodeGen/CGCXX.cpp
parentd6b8cca34d2db1af3becd2b90e52b0b7f8ef3cf8 (diff)
Normalize many BasicBlock names.
- Use dotted notation for blocks related to a particular statement type. - Use .end for landing pads. No functionality change in NDEBUG mode. :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59210 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCXX.cpp')
-rw-r--r--lib/CodeGen/CGCXX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGCXX.cpp b/lib/CodeGen/CGCXX.cpp
index 3826e765e6..70eeb942b7 100644
--- a/lib/CodeGen/CGCXX.cpp
+++ b/lib/CodeGen/CGCXX.cpp
@@ -116,7 +116,7 @@ CodeGenFunction::GenerateStaticCXXBlockVarDecl(const VarDecl &D)
llvm::Value *ICmp = Builder.CreateICmpEQ(V, nullValue , "tobool");
llvm::BasicBlock *InitBlock = createBasicBlock("init");
- llvm::BasicBlock *EndBlock = createBasicBlock("initend");
+ llvm::BasicBlock *EndBlock = createBasicBlock("init.end");
// If the guard variable is 0, jump to the initializer code.
Builder.CreateCondBr(ICmp, InitBlock, EndBlock);