93cd2ca93cc8 — Leonard Ritter 5 years ago
* cleanup
3 files changed, 6 insertions(+), 6 deletions(-)

M include/scopes/config.h
M src/cache.cpp
M src/gen_llvm.cpp
M include/scopes/config.h +1 -1
@@ 25,7 25,7 @@ 
 #define SCOPES_EARLY_ABORT 0
 
 // print a list of cumulative timers on program exit
-#define SCOPES_PRINT_TIMERS 1
+#define SCOPES_PRINT_TIMERS 0
 
 // maximum number of recursions permitted during partial evaluation
 // if you think you need more, ask yourself if ad-hoc compiling a pure C function

          
M src/cache.cpp +4 -4
@@ 22,7 22,7 @@ 
 #include <memory.h>
 #include <stdio.h>
 
-#define SCOPES_CACHE_WRITE_KEY 1
+#define SCOPES_CACHE_WRITE_KEY 0
 
 namespace scopes {
 

          
@@ 101,8 101,8 @@ const char *get_cache_key_file(const Str
         }
     }
 
-    StyledStream ss;
-    ss << "missing " << filepath << std::endl;
+    //StyledStream ss;
+    //ss << "missing " << filepath << std::endl;
 #endif
     return nullptr;
 }

          
@@ 125,7 125,7 @@ const char *get_cache_file(const String 
     }
 
     StyledStream ss;
-    ss << "missing " << filepath << std::endl;
+    ss << "generating " << filepath << std::endl;
     return nullptr;
 }
 

          
M src/gen_llvm.cpp +1 -1
@@ 216,7 216,7 @@ struct LLVMIRGenerator {
         auto it = pointer_namespaces.find(name);
         if (it != pointer_namespaces.end()) {
             if (!name) return it->second;
-            printf("namespace taken, retrying...\n");
+            //printf("namespace taken, retrying...\n");
             name = hash2(name, name);
             goto repeat;
         }