Author: Richard Plangger <[email protected]>
Branch: vecopt-merge
Changeset: r79123:dc014b620f41
Date: 2015-08-21 18:52 +0200
http://bitbucket.org/pypy/pypy/changeset/dc014b620f41/
Log: reverted the repr_of_arg, added more debug info to
update_accumlocation_loc
diff --git a/rpython/jit/backend/x86/regalloc.py
b/rpython/jit/backend/x86/regalloc.py
--- a/rpython/jit/backend/x86/regalloc.py
+++ b/rpython/jit/backend/x86/regalloc.py
@@ -337,14 +337,17 @@
"""
assert isinstance(descr, ResumeGuardDescr)
accum_info = descr.rd_accum_list
+ count = 0
while accum_info:
if accum_info.box is accum.getoriginalbox():
accum_info.loc = self.loc(arg)
accum_info.position = pos
break
+ count += 1
accum_info = accum_info.prev
else:
- raise AssertionError("accum box has no accum_info entry")
+ llop.debug_print(lltype.Void, "[accumulator] %d accumulators, none
matched box %s\n" % (count, accum_info.box))
+ assert 0
def perform_with_guard(self, op, guard_op, arglocs, result_loc):
faillocs = self.locs_for_fail(guard_op)
diff --git a/rpython/jit/metainterp/logger.py b/rpython/jit/metainterp/logger.py
--- a/rpython/jit/metainterp/logger.py
+++ b/rpython/jit/metainterp/logger.py
@@ -102,7 +102,6 @@
return descr.repr_of_descr()
def repr_of_arg(self, arg):
- return str(arg) # XXX
try:
mv = self.memo[arg]
except KeyError:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit