Author: Richard Plangger <r...@pasra.at>
Branch: vecopt-merge
Changeset: r79155:d7bbffc00e28
Date: 2015-08-23 13:05 +0200
http://bitbucket.org/pypy/pypy/changeset/d7bbffc00e28/

Log:    logical error, break did not increment and leads into failure
        straight away

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
@@ -345,8 +345,10 @@
                 break
             count += 1
             accum_info = accum_info.prev
-        if count == 0:
+        else:
             msg = "[accumulator] %d accumulators, none matched box %s" % 
(count, accum_info.box)
+            print msg
+            import pdb; pdb.set_trace()
             not_implemented(msg)
 
     def perform_with_guard(self, op, guard_op, arglocs, result_loc):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to