Merge branch 'master' into location
This commit is contained in:
commit
5c05d96b39
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
|||
/*.user
|
||||
/mcc
|
||||
/build
|
||||
/nbproject
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include <llvm/Analysis/Passes.h>
|
||||
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
@ -496,6 +497,8 @@ bool BitcodeEmitter::emit(Branch const& node) {
|
|||
|
||||
if (body.getElse()) {
|
||||
GUARDED(ensureBasicBlock(*body.getElse(), mergebb));
|
||||
} else {
|
||||
d->builder.CreateBr(mergebb);
|
||||
}
|
||||
|
||||
func->getBasicBlockList().push_back(mergebb);
|
||||
|
|
Reference in New Issue
Block a user