[pypy-svn] r68399 - pypy/branch/inline-fastpath-malloc/pypy/jit/backend/x86/test

fijal at codespeak.net fijal at codespeak.net
Tue Oct 13 21:59:47 CEST 2009


Author: fijal
Date: Tue Oct 13 21:59:47 2009
New Revision: 68399

Modified:
   pypy/branch/inline-fastpath-malloc/pypy/jit/backend/x86/test/test_gc_integration.py
Log:
improve asserts a bit


Modified: pypy/branch/inline-fastpath-malloc/pypy/jit/backend/x86/test/test_gc_integration.py
==============================================================================
--- pypy/branch/inline-fastpath-malloc/pypy/jit/backend/x86/test/test_gc_integration.py	(original)
+++ pypy/branch/inline-fastpath-malloc/pypy/jit/backend/x86/test/test_gc_integration.py	Tue Oct 13 21:59:47 2009
@@ -257,3 +257,6 @@
         '''
         self.interpret(ops, [])
         # this should call slow path once
+        gc_ll_descr = self.cpu.gc_ll_descr
+        nadr = rffi.cast(lltype.Signed, gc_ll_descr.nursery)
+        assert gc_ll_descr.addrs[0] == nadr + 8



More information about the Pypy-commit mailing list