[pypy-commit] pypy default: avoid this test crashing on load time
bivab
noreply at buildbot.pypy.org
Tue Jan 8 09:39:30 CET 2013
Author: David Schneider <david.schneider at picle.org>
Branch:
Changeset: r59872:371fbdc16264
Date: 2013-01-08 09:38 +0100
http://bitbucket.org/pypy/pypy/changeset/371fbdc16264/
Log: avoid this test crashing on load time
diff --git a/pypy/jit/backend/arm/test/test_gc_integration.py b/pypy/jit/backend/arm/test/test_gc_integration.py
--- a/pypy/jit/backend/arm/test/test_gc_integration.py
+++ b/pypy/jit/backend/arm/test/test_gc_integration.py
@@ -7,7 +7,7 @@
BoxPtr, TreeLoop, TargetToken
from pypy.jit.metainterp.resoperation import rop, ResOperation
from pypy.jit.codewriter import heaptracker
-from pypy.jit.backend.llsupport.descr import GcCache
+from pypy.jit.backend.llsupport.gc import GcLLDescription, GcLLDescr_boehm
from pypy.jit.backend.llsupport.gc import GcLLDescription
from pypy.jit.backend.detect_cpu import getcpuclass
from pypy.jit.backend.arm.arch import WORD
@@ -44,23 +44,14 @@
return ['compressed'] + shape[1:]
-class MockGcDescr(GcCache):
- get_malloc_slowpath_addr = None
- write_barrier_descr = None
- moving_gc = True
+class MockGcDescr(GcLLDescr_boehm):
gcrootmap = MockGcRootMap()
- def initialize(self):
- pass
-
- _record_constptrs = GcLLDescr_framework._record_constptrs.im_func
- rewrite_assembler = GcLLDescr_framework.rewrite_assembler.im_func
-
class TestRegallocGcIntegration(BaseTestRegalloc):
cpu = CPU(None, None)
- cpu.gc_ll_descr = MockGcDescr(False)
+ cpu.gc_ll_descr = MockGcDescr(None, None, None)
cpu.setup_once()
S = lltype.GcForwardReference()
More information about the pypy-commit
mailing list