[pypy-commit] pypy ppc-jit-backend: remove comments and debug stuff

hager noreply at buildbot.pypy.org
Mon Dec 12 12:05:48 CET 2011


Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r50423:9130b26b5bad
Date: 2011-12-12 12:05 +0100
http://bitbucket.org/pypy/pypy/changeset/9130b26b5bad/

Log:	remove comments and debug stuff

diff --git a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py b/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
--- a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
+++ b/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
@@ -251,7 +251,6 @@
             else:
                 assert 0, 'unknown type'
 
-
         assert enc[i] == self.END_OF_LOCS
         descr = decode32(enc, i+1)
         self.fail_boxes_count = fail_index
@@ -290,12 +289,6 @@
 
     def _gen_leave_jitted_hook_code(self, save_exc=False):
         mc = PPCBuilder()
-
-        # PLAN:
-        # =====
-        # save caller save registers AND(!) r0 
-        # (r0 contains address of state encoding)
-
         mc.b_abs(self.exit_code_adr)
         mc.prepare_insts_blocks()
         return mc.materialize(self.cpu.asmmemmgr, [],
@@ -312,7 +305,6 @@
     #   - jump back to the calling code
     def _gen_exit_path(self):
         mc = PPCBuilder() 
-        mc.mr(r.r6.value, r.r3.value)
         self._save_managed_regs(mc)
         decode_func_addr = llhelper(self.recovery_func_sign,
                 self.failure_recovery_func)
@@ -325,8 +317,6 @@
             r2_value = descr[1]
             r11_value = descr[2]
 
-
-
         # load parameters into parameter registers
         if IS_PPC_32:
             mc.lwz(r.r3.value, r.SPP.value, self.ENCODING_AREA)     # address of state encoding 


More information about the pypy-commit mailing list