Mercurial > projects > ldc
diff gen/structs.cpp @ 1030:3ead5c40b7d6
Disabled some extensive LLVM value logging with -vv that dramatically increases -vv output length for little value.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Tue, 03 Mar 2009 17:21:35 +0100 |
parents | 8a70b4381369 |
children | dbe4af57b240 |
line wrap: on
line diff
--- a/gen/structs.cpp Tue Mar 03 15:08:26 2009 +0100 +++ b/gen/structs.cpp Tue Mar 03 17:21:35 2009 +0100 @@ -102,9 +102,11 @@ // get formal type const llvm::StructType* structtype = isaStruct(ts->ir.type->get()); +#if 0 // log it if (Logger::enabled()) Logger::cout() << "llvm struct type: " << *structtype << '\n'; +#endif // sanity check assert(si->value.dim > 0); @@ -528,7 +530,6 @@ // get some info bool ispacked = (ts->alignsize() == 1); - bool isunion = sd->isUnionDeclaration(); // set irstruct info irstruct->packed = ispacked;