diff gen/tocall.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 9167d492cbc2
children 45af482e3832
line wrap: on
line diff
--- 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["<<i<<"] = " << *args[i] << '\n';
         }
     }
-    #endif
+#endif
 
     // void returns cannot not be named
     const char* varname = "";
     if (callableTy->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);