# HG changeset patch # User Tomas Lindquist Olsen # Date 1236097295 -3600 # Node ID 3ead5c40b7d6bf50d08fea93645b5076d0e4253f # Parent 4d366a75d95f1a25a66bd0a875fb405f5b9f18f2 Disabled some extensive LLVM value logging with -vv that dramatically increases -vv output length for little value. diff -r 4d366a75d95f -r 3ead5c40b7d6 gen/structs.cpp --- 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; diff -r 4d366a75d95f -r 3ead5c40b7d6 gen/tocall.cpp --- a/gen/tocall.cpp Tue Mar 03 15:08:26 2009 +0100 +++ b/gen/tocall.cpp Tue Mar 03 17:21:35 2009 +0100 @@ -442,7 +442,7 @@ } } - #if 1 +#if 0 if (Logger::enabled()) { Logger::println("%lu params passed", args.size()); @@ -451,15 +451,17 @@ Logger::cout() << "arg["<getReturnType() != LLType::VoidTy) varname = "tmp"; +#if 0 if (Logger::enabled()) Logger::cout() << "Calling: " << *callable << '\n'; +#endif // call the function LLCallSite call = gIR->CreateCallOrInvoke(callable, args.begin(), args.end(), varname);