Commits

David Schneider committed b54b162

fix tests

Comments (0)

Files changed (2)

pypy/jit/backend/arm/test/test_assembler.py

 class TestRunningAssembler(object):
     def setup_method(self, method):
         cpu = CPU(None, None)
-        lp = LoopToken()
-        lp.compiled_loop_token = CompiledLoopToken(cpu, None)
+        #lp = LoopToken()
+        #lp.compiled_loop_token = CompiledLoopToken(cpu, None)
         self.a = AssemblerARM(cpu)
         self.a.setup_once()
-        self.a.setup(lp)
+        self.a.setup()
 
     def test_make_operation_list(self):
         i = rop.INT_ADD

pypy/jit/backend/arm/test/test_regalloc.py

 from pypy.jit.metainterp.resoperation import rop, ResOperation
 from pypy.jit.backend.llsupport.descr import GcCache
 from pypy.jit.backend.detect_cpu import getcpuclass
-from pypy.jit.backend.arm.regalloc import RegAlloc
+from pypy.jit.backend.arm.regalloc import Regalloc
 from pypy.jit.tool.oparser import parse
 from pypy.rpython.lltypesystem import lltype, llmemory, rffi
 from pypy.rpython.annlowlevel import llhelper
     def load_effective_addr(self, *args):
         self.lea.append(args)
 
-class RegAllocForTests(RegAlloc):
+class RegAllocForTests(Regalloc):
     position = 0
     def _compute_next_usage(self, v, _):
         return -1