[pypy-commit] pypy default: disable the use of cast_pointer in the JIT for now, to find out whether it

cfbolz noreply at buildbot.pypy.org
Fri Dec 2 13:25:48 CET 2011


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: 
Changeset: r50061:c8c6a9ce7e04
Date: 2011-12-02 13:25 +0100
http://bitbucket.org/pypy/pypy/changeset/c8c6a9ce7e04/

Log:	disable the use of cast_pointer in the JIT for now, to find out
	whether it caused the test failures.

diff --git a/pypy/jit/codewriter/jtransform.py b/pypy/jit/codewriter/jtransform.py
--- a/pypy/jit/codewriter/jtransform.py
+++ b/pypy/jit/codewriter/jtransform.py
@@ -210,6 +210,8 @@
     def rewrite_op_cast_pointer(self, op):
         newop = self.rewrite_op_same_as(op)
         assert newop is None
+        return
+        # disabled for now
         if (self._is_rclass_instance(op.args[0]) and
                 self._is_rclass_instance(op.result)):
             FROM = op.args[0].concretetype.TO
diff --git a/pypy/jit/metainterp/test/test_ajit.py b/pypy/jit/metainterp/test/test_ajit.py
--- a/pypy/jit/metainterp/test/test_ajit.py
+++ b/pypy/jit/metainterp/test/test_ajit.py
@@ -3586,6 +3586,7 @@
 
 
     def test_annotation_gives_class_knowledge_to_tracer(self):
+        py.test.skip("disabled")
         class Base(object):
             pass
         class A(Base):


More information about the pypy-commit mailing list