Fix some -vv output

This commit is contained in:
Frits van Bommel
2009-02-26 14:51:05 +01:00
parent e37c82d1ec
commit 695fc3f5c3

View File

@@ -712,7 +712,7 @@ void AsmBlockStatement::toIR(IRState* p)
for (std::vector<LLValue*>::iterator b = args.begin(), i = b, e = args.end(); i != e; ++i) {
llvm::OStream cout = Logger::cout();
cout << '$' << (i - b) << " ==> " << **i;
if (llvm::isa<LLConstant>(*i))
if (!llvm::isa<llvm::Instruction>(*i) && !llvm::isa<LLGlobalValue>(*i))
cout << '\n';
}
Logger::undent();