Browse Source

Remove logs

Yentl Van Tendeloo 9 years ago
parent
commit
81c48dc5a6
2 changed files with 0 additions and 7 deletions
  1. 0 2
      bootstrap/conformance_scd.alc
  2. 0 5
      kernel/modelverse_kernel/main.py

+ 0 - 2
bootstrap/conformance_scd.alc

@@ -199,10 +199,8 @@ String function conformance_scd(model : Element):
 
 			Element constraint_function
 			constraint_function = read_attribute(metamodel, reverseKeyLookup(metamodel["model"], dict_read_node(typing, element)), "constraint")
-			log((("Constraint for " + model_name) + ": ") + cast_e2s(constraint_function))
 			if (element_neq(constraint_function, read_root())):
 				String result
-				log("Execute constraint")
 				result = constraint_function(model, model_name)
 				if (result != "OK"):
 					return result

+ 0 - 5
kernel/modelverse_kernel/main.py

@@ -125,9 +125,6 @@ class ModelverseKernel(object):
         try:
             # Forward the message we get to this generator
             # Sometimes it might not even be a generator, in which case this should already be in the except block (i.e., for the Read Root operation)
-            if inst not in self.primitives:
-                print("Function %s" % self.compiled[inst])
-                print("    parameters: " + str(parameters))
             prim = self.compiled[inst](**parameters)
             inp = None
             while 1:
@@ -439,8 +436,6 @@ class ModelverseKernel(object):
                 compiled_function = getattr(compiled_functions, var_name, None)
                 if compiled_function is not None:
                     # We have a compiled function ready!
-                    print("Using compiled version of '%s'" % var_name)
-
                     # Now we have to bind the ID to the compiled functions
                     # For this, we read out the body of the resolved data
                     compiler_val = yield [("RD", [variable, "value"])]