[pypy-svn] r69675 - in pypy/branch/virtual-forcing/pypy/jit/backend: llgraph test

fijal at codespeak.net fijal at codespeak.net
Fri Nov 27 10:49:25 CET 2009


Author: fijal
Date: Fri Nov 27 10:49:25 2009
New Revision: 69675

Modified:
   pypy/branch/virtual-forcing/pypy/jit/backend/llgraph/runner.py
   pypy/branch/virtual-forcing/pypy/jit/backend/test/runner_test.py
Log:
Kill extra args to force


Modified: pypy/branch/virtual-forcing/pypy/jit/backend/llgraph/runner.py
==============================================================================
--- pypy/branch/virtual-forcing/pypy/jit/backend/llgraph/runner.py	(original)
+++ pypy/branch/virtual-forcing/pypy/jit/backend/llgraph/runner.py	Fri Nov 27 10:49:25 2009
@@ -497,7 +497,7 @@
     def do_cast_ptr_to_int(self, ptrbox):
         return history.BoxInt(llimpl.cast_to_int(ptrbox.getref_base(),
                                                         self.memo_cast))
-    def force(self, force_token, descr, args):
+    def force(self, force_token):
         frame = llimpl.force(self.cast_int_to_adr(force_token))
         self.latest_frame = frame
 

Modified: pypy/branch/virtual-forcing/pypy/jit/backend/test/runner_test.py
==============================================================================
--- pypy/branch/virtual-forcing/pypy/jit/backend/test/runner_test.py	(original)
+++ pypy/branch/virtual-forcing/pypy/jit/backend/test/runner_test.py	Fri Nov 27 10:49:25 2009
@@ -1225,7 +1225,7 @@
         values = []
         def maybe_force(token, flag):
             if flag:
-               self.cpu.force(token, faildescr, [i1, i0])
+               self.cpu.force(token)
                values.append(self.cpu.get_latest_value_int(0))
                values.append(self.cpu.get_latest_value_int(1))
 



More information about the Pypy-commit mailing list