[pypy-svn] r67132 - pypy/branch/pyjitpl5/pypy/jit/backend/x86/test
arigo at codespeak.net
arigo at codespeak.net
Sun Aug 23 19:05:23 CEST 2009
Author: arigo
Date: Sun Aug 23 19:05:18 2009
New Revision: 67132
Modified:
pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_zrpy_gc.py
Log:
Fix the test to match r67107.
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_zrpy_gc.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_zrpy_gc.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_zrpy_gc.py Sun Aug 23 19:05:18 2009
@@ -116,12 +116,12 @@
def test_GcRootMap_asmgcc():
gcrootmap = GcRootMap_asmgcc()
shape = gcrootmap._get_callshape([stack_pos(1), stack_pos(55)])
- assert shape == [6, 1, 5, 9, 2, 0, -8|2, -224|2]
+ assert shape == [6, -2, -6, -10, 2, 0, -8|2, -224|2]
#
shapeaddr = gcrootmap.encode_callshape([stack_pos(1), stack_pos(55)])
PCALLSHAPE = lltype.Ptr(GcRootMap_asmgcc.CALLSHAPE_ARRAY)
p = llmemory.cast_adr_to_ptr(shapeaddr, PCALLSHAPE)
- for i, expected in enumerate([131, 59, 11, 0, 4, 18, 10, 2, 12]):
+ for i, expected in enumerate([131, 59, 11, 0, 4, 19, 11, 3, 12]):
assert p[i] == expected
#
retaddr = rffi.cast(llmemory.Address, 1234567890)
More information about the Pypy-commit
mailing list