[pypy-commit] pypy vecopt: vector boxes need to be considered on guard exit
plan_rich
noreply at buildbot.pypy.org
Wed Jun 10 11:41:54 CEST 2015
Author: Richard Plangger <rich at 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
More information about the pypy-commit
mailing list