[pypy-svn] r22729 - in pypy/dist/pypy/translator/llvm: . test

rxe at codespeak.net rxe at codespeak.net
Fri Jan 27 14:05:47 CET 2006


Author: rxe
Date: Fri Jan 27 14:05:45 2006
New Revision: 22729

Modified:
   pypy/dist/pypy/translator/llvm/database.py
   pypy/dist/pypy/translator/llvm/test/test_lladdresses.py
Log:
Comment out assert until the gc hacking is settled down a bit.



Modified: pypy/dist/pypy/translator/llvm/database.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/database.py	(original)
+++ pypy/dist/pypy/translator/llvm/database.py	Fri Jan 27 14:05:45 2006
@@ -363,7 +363,8 @@
         elif type_ is lltype.Float:
             repr = self.float_to_str(value)
         elif type_ is llmemory.Address:
-            assert value == NULL
+            # XXXXX things are happening in the gc world...
+            # assert value == NULL
             repr = 'null' 
         else:
             repr = str(value)

Modified: pypy/dist/pypy/translator/llvm/test/test_lladdresses.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/test/test_lladdresses.py	(original)
+++ pypy/dist/pypy/translator/llvm/test/test_lladdresses.py	Fri Jan 27 14:05:45 2006
@@ -88,7 +88,6 @@
     assert res == 3
 
 def test_pointer_comparison():
-    py.test.skip("XXX tmp")
     def f():
         result = 0
         for addr1 in [raw_malloc(1), NULL]:



More information about the Pypy-commit mailing list