Author: Armin Rigo <ar...@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 = ( _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit