[llvm-commits] [llvm-gcc-4.2] r40467 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Duncan Sands
baldrick at free.fr
Tue Jul 24 10:35:25 PDT 2007
Author: baldrick
Date: Tue Jul 24 12:35:25 2007
New Revision: 40467
URL: http://llvm.org/viewvc/llvm-project?rev=40467&view=rev
Log:
Make sure the terminator terminates the basic block.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp?rev=40467&r1=40466&r2=40467&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Tue Jul 24 12:35:25 2007
@@ -4698,6 +4698,7 @@
Intrinsic::eh_return),
Offset, Handler);
Result = Builder.CreateUnreachable();
+ EmitBlock(new BasicBlock(""));
return true;
}
More information about the llvm-commits
mailing list