[llvm-commits] [dragonegg] r85585 - /dragonegg/trunk/llvm-convert.cpp

Duncan Sands baldrick at free.fr
Fri Oct 30 04:18:10 PDT 2009


Author: baldrick
Date: Fri Oct 30 06:18:09 2009
New Revision: 85585

URL: http://llvm.org/viewvc/llvm-project?rev=85585&view=rev
Log:
Outputting an empty basic block here is no longer useful.

Modified:
    dragonegg/trunk/llvm-convert.cpp

Modified: dragonegg/trunk/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-convert.cpp?rev=85585&r1=85584&r2=85585&view=diff

==============================================================================
--- dragonegg/trunk/llvm-convert.cpp (original)
+++ dragonegg/trunk/llvm-convert.cpp Fri Oct 30 06:18:09 2009
@@ -1105,7 +1105,6 @@
   FOR_EACH_EDGE (e, ei, bb->succs)
     if (e->flags & EDGE_FALLTHRU) {
       Builder.CreateBr(getBasicBlock(e->dest));
-      EmitBlock(BasicBlock::Create(Context));
       break;
     }
 }





More information about the llvm-commits mailing list