[pypy-svn] r78270 - pypy/branch/arm-backend/pypy/jit/backend/arm

david at codespeak.net david at codespeak.net
Mon Oct 25 17:22:48 CEST 2010


Author: david
Date: Mon Oct 25 17:22:46 2010
New Revision: 78270

Modified:
   pypy/branch/arm-backend/pypy/jit/backend/arm/assembler.py
   pypy/branch/arm-backend/pypy/jit/backend/arm/runner.py
Log:
Unify input arg and fail boxes

Modified: pypy/branch/arm-backend/pypy/jit/backend/arm/assembler.py
==============================================================================
--- pypy/branch/arm-backend/pypy/jit/backend/arm/assembler.py	(original)
+++ pypy/branch/arm-backend/pypy/jit/backend/arm/assembler.py	Mon Oct 25 17:22:46 2010
@@ -18,7 +18,6 @@
     def __init__(self, cpu, failargs_limit=1000):
         self.mc = ARMv7Builder()
         self.cpu = cpu
-        self.input_arg_boxes_int = values_array(lltype.Signed, failargs_limit) # merge with fail_boxes_int later
         self.fail_boxes_int = values_array(lltype.Signed, failargs_limit)
         self._debug_asm = True
 

Modified: pypy/branch/arm-backend/pypy/jit/backend/arm/runner.py
==============================================================================
--- pypy/branch/arm-backend/pypy/jit/backend/arm/runner.py	(original)
+++ pypy/branch/arm-backend/pypy/jit/backend/arm/runner.py	Mon Oct 25 17:22:46 2010
@@ -22,7 +22,7 @@
         self.assembler.assemble_bridge(faildescr, inputargs, operations)
 
     def set_future_value_int(self, index, intvalue):
-        self.assembler.input_arg_boxes_int.setitem(index, intvalue)
+        self.assembler.fail_boxes_int.setitem(index, intvalue)
 
     def get_latest_value_int(self, index):
         return self.assembler.fail_boxes_int.getitem(index)



More information about the Pypy-commit mailing list