[CodeExtractor] Merge DEBUG statements in an attempt to fix the msvc
build. There's a known bug in msvc 2013 that fails to compile do-while loops inside of ranged for loops. llvm-svn: 273811
This commit is contained in:
@@ -315,10 +315,12 @@ Function *CodeExtractor::constructFunction(const ValueSet &inputs,
|
||||
paramTy.push_back(PointerType::getUnqual(output->getType()));
|
||||
}
|
||||
|
||||
DEBUG(dbgs() << "Function type: " << *RetTy << " f(");
|
||||
for (Type *i : paramTy)
|
||||
DEBUG(dbgs() << *i << ", ");
|
||||
DEBUG(dbgs() << ")\n");
|
||||
DEBUG({
|
||||
dbgs() << "Function type: " << *RetTy << " f(";
|
||||
for (Type *i : paramTy)
|
||||
dbgs() << *i << ", ";
|
||||
dbgs() << ")\n";
|
||||
});
|
||||
|
||||
StructType *StructTy;
|
||||
if (AggregateArgs && (inputs.size() + outputs.size() > 0)) {
|
||||
|
||||
Reference in New Issue
Block a user