[pypy-commit] pypy stm-thread-2: Another possible optimization to implement later.

arigo noreply at buildbot.pypy.org
Tue Sep 11 16:49:57 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: stm-thread-2
Changeset: r57294:62a237085b23
Date: 2012-09-11 16:49 +0200
http://bitbucket.org/pypy/pypy/changeset/62a237085b23/

Log:	Another possible optimization to implement later.

diff --git a/pypy/jit/backend/llsupport/test/test_stmrewrite.py b/pypy/jit/backend/llsupport/test/test_stmrewrite.py
--- a/pypy/jit/backend/llsupport/test/test_stmrewrite.py
+++ b/pypy/jit/backend/llsupport/test/test_stmrewrite.py
@@ -541,3 +541,7 @@
             i1 = call(ConstClass(stm_ptr_ne), p1, p2, descr=stm_ptr_ne_descr)
             jump(i1)
         """)
+
+    def test_ptr_eq_other_direct_cases(self):
+        py.test.skip("can also keep ptr_eq if both args are L or W, "
+                     "or if one arg is freshly malloced")


More information about the pypy-commit mailing list