[pypy-commit] pypy default: random whitespace fixes

alex_gaynor noreply at buildbot.pypy.org
Sat Mar 23 06:00:47 CET 2013


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r62687:b8ad9699db5c
Date: 2013-03-22 22:00 -0700
http://bitbucket.org/pypy/pypy/changeset/b8ad9699db5c/

Log:	random whitespace fixes

diff --git a/rpython/jit/backend/arm/regalloc.py b/rpython/jit/backend/arm/regalloc.py
--- a/rpython/jit/backend/arm/regalloc.py
+++ b/rpython/jit/backend/arm/regalloc.py
@@ -257,6 +257,7 @@
                                                                 selected_reg)
         else:
             return self.rm.get_scratch_reg(type, forbidden_vars, selected_reg)
+
     def get_free_reg(self):
         return self.rm.get_free_reg()
 
@@ -287,8 +288,7 @@
         operations = cpu.gc_ll_descr.rewrite_assembler(cpu, operations,
                                                        allgcrefs)
         # compute longevity of variables
-        longevity, last_real_usage = compute_vars_longevity(
-                                                    inputargs, operations)
+        longevity, last_real_usage = compute_vars_longevity(inputargs, operations)
         self.longevity = longevity
         self.last_real_usage = last_real_usage
         fm = self.frame_manager
@@ -588,7 +588,6 @@
         res = self.force_allocate_reg(op.result)
         return [loc0, res]
 
-
     def _prepare_guard(self, op, args=None):
         if args is None:
             args = []
@@ -664,8 +663,7 @@
         return arglocs
 
     def prepare_op_guard_no_exception(self, op, fcond):
-        loc = self.make_sure_var_in_reg(
-                    ConstInt(self.cpu.pos_exception()))
+        loc = self.make_sure_var_in_reg(ConstInt(self.cpu.pos_exception()))
         arglocs = self._prepare_guard(op, [loc])
         return arglocs
 
@@ -1019,7 +1017,6 @@
     def prepare_op_call_malloc_nursery_varsize_small(self, op, fcond):
         size_box = op.getarg(0)
         assert isinstance(size_box, BoxInt)
-        size = size_box.getint()
 
         self.rm.force_allocate_reg(op.result, selected_reg=r.r0)
         t = TempInt()
@@ -1121,8 +1118,7 @@
     prepare_op_float_add = prepare_float_op(name='prepare_op_float_add')
     prepare_op_float_sub = prepare_float_op(name='prepare_op_float_sub')
     prepare_op_float_mul = prepare_float_op(name='prepare_op_float_mul')
-    prepare_op_float_truediv = prepare_float_op(
-                                            name='prepare_op_float_truediv')
+    prepare_op_float_truediv = prepare_float_op(name='prepare_op_float_truediv')
     prepare_op_float_lt = prepare_float_op(float_result=False,
                                             name='prepare_op_float_lt')
     prepare_op_float_le = prepare_float_op(float_result=False,


More information about the pypy-commit mailing list