removed more log.info to reduce log size

parent a0441065
......@@ -109,7 +109,7 @@ class Bookkeeper(object):
# logger.info("compute_at_fixpoint:")
with self.at_position(None):
for call_op in self.annotator.call_sites():
logger.info("simple_call ( %s, ...) -> %s" % (call_op.args[0].__str__(), call_op.result.__str__()))
# logger.info("simple_call ( %s, ...) -> %s" % (call_op.args[0].__str__(), call_op.result.__str__()))
try:
self.consider_call_site(call_op)
except Exception as exp:
......@@ -169,16 +169,16 @@ class Bookkeeper(object):
from rpython.rtyper.llannotation import SomeLLADTMeth, lltype_to_annotation
annotation = self.annotator.annotation
s_callable = annotation(call_op.args[0])
logger.info('consider_call_site.s_callable = %s' % s_callable.__str__())
# logger.info('consider_call_site.s_callable = %s' % s_callable.__str__())
args_s = [annotation(arg) for arg in call_op.args[1:]]
logger.info('consider_call_site.args_s = %s' % args_s.__str__())
# logger.info('consider_call_site.args_s = %s' % args_s.__str__())
if isinstance(s_callable, SomeLLADTMeth):
adtmeth = s_callable
s_callable = self.immutablevalue(adtmeth.func)
args_s = [lltype_to_annotation(adtmeth.ll_ptrtype)] + args_s
if isinstance(s_callable, SomePBC):
s_result = annotation(call_op.result)
logger.info('consider_call_site.s_result.ann = %s' % s_result.__str__())
# logger.info('consider_call_site.s_result.ann = %s' % s_result.__str__())
if s_result is None:
s_result = s_ImpossibleValue
args = call_op.build_args(args_s)
......
......@@ -287,7 +287,7 @@ class RPythonTyper(object):
# normal path
result = []
for a in block.inputargs:
self.log.info('finding binding rep for %s' % a.__str__())
# self.log.info('finding binding rep for %s' % a.__str__())
r = self.bindingrepr(a)
a.concretetype = r.lowleveltype
result.append(r)
......@@ -298,10 +298,10 @@ class RPythonTyper(object):
def specialize_block(self, block):
graph = self.annotator.annotated[block]
self.log.info('specializing block: %s of graph: %s' % (block.__str__(), graph.name))
# self.log.info('specializing block: %s of graph: %s' % (block.__str__(), graph.name))
from rpython.rlib.rrtmu import rtzebu
self.log.info('with %d blocks' % rtzebu.get_number_of_blocks(graph))
# self.log.info('with %d blocks' % rtzebu.get_number_of_blocks(graph))
# self.log.info('BLOCK_OPS: %s' % block.operations)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment