Author: Richard Plangger <r...@pasra.at>
Branch: vecopt
Changeset: r78005:37e903d27286
Date: 2015-06-10 11:39 +0200
http://bitbucket.org/pypy/pypy/changeset/37e903d27286/

Log:    vector boxes need to be considered on guard exit

diff --git a/rpython/jit/backend/llsupport/assembler.py 
b/rpython/jit/backend/llsupport/assembler.py
--- a/rpython/jit/backend/llsupport/assembler.py
+++ b/rpython/jit/backend/llsupport/assembler.py
@@ -166,7 +166,8 @@
     def store_info_on_descr(self, startspos, guardtok):
         withfloats = False
         for box in guardtok.failargs:
-            if box is not None and box.type == FLOAT:
+            if box is not None and \
+               (box.type == FLOAT or box.type == VECTOR):
                 withfloats = True
                 break
         exc = guardtok.exc
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to