[pypy-commit] pypy default: Fix on 64-bit.

arigo noreply at buildbot.pypy.org
Wed Aug 3 10:07:25 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r46238:883e8d58e5ff
Date: 2011-08-03 10:08 +0200
http://bitbucket.org/pypy/pypy/changeset/883e8d58e5ff/

Log:	Fix on 64-bit.

diff --git a/pypy/jit/backend/x86/test/test_regloc.py b/pypy/jit/backend/x86/test/test_regloc.py
--- a/pypy/jit/backend/x86/test/test_regloc.py
+++ b/pypy/jit/backend/x86/test/test_regloc.py
@@ -62,7 +62,7 @@
             assert mc.relocations == [5]
             expected = "\xE8" + struct.pack('<i', target - (rawstart + 5))
         elif IS_X86_64:
-            assert mc.relocations == []
+            assert mc.relocations is None
             if 0 <= target <= 0xffffffff:
                 assert length == 9
                 expected = (


More information about the pypy-commit mailing list