[pypy-commit] pypy guard-compatible: fix test

cfbolz pypy.commits at gmail.com
Mon May 23 10:13:04 EDT 2016


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: guard-compatible
Changeset: r84625:20d460c0b039
Date: 2016-05-23 16:07 +0200
http://bitbucket.org/pypy/pypy/changeset/20d460c0b039/

Log:	fix test

diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainterp/compile.py
--- a/rpython/jit/metainterp/compile.py
+++ b/rpython/jit/metainterp/compile.py
@@ -1081,6 +1081,9 @@
     """ A descr for guard_compatible. All the conditions that a value should
     fulfil need to be attached to this descr by optimizeopt. """
 
+    _compatibility_conditions = None
+    other_compat_conditions = []
+
     def __init__(self):
         # XXX think about what is being kept alive here
         self._compatibility_conditions = None


More information about the pypy-commit mailing list