CodeGen: Code following a clast_guard comes after the merge block

llvm-svn: 150675
This commit is contained in:
Tobias Grosser 2012-02-16 09:56:21 +00:00
parent eeafc867ed
commit 62a3c96e5d
1 changed files with 2 additions and 0 deletions

View File

@ -1487,6 +1487,8 @@ void ClastStmtCodeGen::codegen(const clast_guard *g) {
Builder.SetInsertPoint(ThenBB->begin());
codegen(g->then);
Builder.SetInsertPoint(MergeBB->begin());
}
void ClastStmtCodeGen::codegen(const clast_stmt *stmt) {