Author: Richard Plangger <r...@pasra.at>
Branch: vecopt
Changeset: r77978:7aba38455439
Date: 2015-06-09 10:08 +0200
http://bitbucket.org/pypy/pypy/changeset/7aba38455439/

Log:    need to call method to get the result :)

diff --git a/rpython/jit/metainterp/optimizeopt/schedule.py 
b/rpython/jit/metainterp/optimizeopt/schedule.py
--- a/rpython/jit/metainterp/optimizeopt/schedule.py
+++ b/rpython/jit/metainterp/optimizeopt/schedule.py
@@ -628,7 +628,7 @@
         oplist = []
         tovector.as_vector_operation(pack, self, oplist)
         #
-        if pack.is_accumulating:
+        if pack.is_accumulating():
             box = oplist[0].result
             assert box is not None
             for node in pack.operations:
diff --git a/rpython/jit/metainterp/optimizeopt/vectorize.py 
b/rpython/jit/metainterp/optimizeopt/vectorize.py
--- a/rpython/jit/metainterp/optimizeopt/vectorize.py
+++ b/rpython/jit/metainterp/optimizeopt/vectorize.py
@@ -508,8 +508,6 @@
                     return 2
         return 1
 
-
-
 def isomorphic(l_op, r_op):
     """ Subject of definition """
     if l_op.getopnum() == r_op.getopnum():
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to