[pypy-commit] pypy ppc-backend-2: (edelsohn, bivab): In possibly_free_vars, do not free var if var is None.
edelsohn
noreply at buildbot.pypy.org
Tue Jun 5 17:34:17 CEST 2012
Author: edelsohn
Branch: ppc-backend-2
Changeset: r55412:af713c920892
Date: 2012-06-05 11:33 -0400
http://bitbucket.org/pypy/pypy/changeset/af713c920892/
Log: (edelsohn, bivab): In possibly_free_vars, do not free var if var is
None.
diff --git a/pypy/jit/backend/ppc/regalloc.py b/pypy/jit/backend/ppc/regalloc.py
--- a/pypy/jit/backend/ppc/regalloc.py
+++ b/pypy/jit/backend/ppc/regalloc.py
@@ -286,7 +286,8 @@
def possibly_free_vars(self, vars):
for var in vars:
- self.possibly_free_var(var)
+ if var is not None: # xxx kludgy
+ self.possibly_free_var(var)
def possibly_free_vars_for_op(self, op):
for i in range(op.numargs()):
More information about the pypy-commit
mailing list