Author: Richard Plangger <r...@pasra.at>
Branch: vecopt-merge
Changeset: r79151:12bbf27bd64c
Date: 2015-08-23 12:29 +0200
http://bitbucket.org/pypy/pypy/changeset/12bbf27bd64c/

Log:    used not_implemented function already present in regalloc.py

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,11 +345,9 @@
                 break
             count += 1
             accum_info = accum_info.prev
-        else:
-            msg = "[accumulator] %d accumulators, none matched box %s\n" % 
(count, accum_info.box)
-            if we_are_translated():
-                llop.debug_print(lltype.Void, msg)
-            raise NotImplementedError(msg)
+        if count == 0:
+            msg = "[accumulator] %d accumulators, none matched box %s" % 
(count, accum_info.box)
+            not_implemented(msg)
 
     def perform_with_guard(self, op, guard_op, arglocs, result_loc):
         faillocs = self.locs_for_fail(guard_op)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to