[pypy-commit] pypy vecopt: need to call method to get the result :)
plan_rich
noreply at buildbot.pypy.org
Tue Jun 9 10:54:19 CEST 2015
Author: Richard Plangger <rich at 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():
More information about the pypy-commit
mailing list