Mercurial > projects > ldc
changeset 995:125c09006ac6
Fix some -vv output
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Thu, 26 Feb 2009 14:51:05 +0100 |
parents | 18ad5601dff7 |
children | 6e7dc3caccdd |
files | gen/asmstmt.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gen/asmstmt.cpp Thu Feb 26 14:51:02 2009 +0100 +++ b/gen/asmstmt.cpp Thu Feb 26 14:51:05 2009 +0100 @@ -712,7 +712,7 @@ 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();